Fix T40194: cycles deformation motion blur not working with curves + shape keys.
This commit is contained in:
parent
5f05ebc2d9
commit
f44e743c72
Notes:
blender-bot
2023-02-14 10:38:58 +01:00
Referenced by issue #40194, Cycles deformation motion blur not working with shapekeys in curves
|
@ -3384,6 +3384,9 @@ int BKE_object_is_deform_modified(Scene *scene, Object *ob)
|
|||
VirtualModifierData virtualModifierData;
|
||||
int flag = 0;
|
||||
|
||||
if(BKE_key_from_object(ob))
|
||||
flag |= eModifierMode_Realtime|eModifierMode_Render;
|
||||
|
||||
/* cloth */
|
||||
for (md = modifiers_getVirtualModifierList(ob, &virtualModifierData);
|
||||
md && (flag != (eModifierMode_Render | eModifierMode_Realtime));
|
||||
|
|
Loading…
Reference in New Issue