Fix T49501: Animations imported via alembic render with wrong or no motion blur
This commit is contained in:
parent
4f1f949877
commit
3caa830c11
Notes:
blender-bot
2023-02-14 07:33:52 +01:00
Referenced by issue #49590, 2.78 crash on image datablock removal Referenced by issue #49501, Animations imported via alembic render with wrong or no motion blur
|
@ -3212,6 +3212,14 @@ static bool constructive_modifier_is_deform_modified(ModifierData *md)
|
|||
ScrewModifierData *smd = (ScrewModifierData *)md;
|
||||
return smd->ob_axis != NULL && object_moves_in_time(smd->ob_axis);
|
||||
}
|
||||
else if (md->type == eModifierType_MeshSequenceCache) {
|
||||
/* NOTE: Not ideal because it's unknown whether topology changes or not.
|
||||
* This will be detected later, so by assuming it's only deformation
|
||||
* going on here we allow to bake deform-only mesh to Alembic and have
|
||||
* proper motion blur after that.
|
||||
*/
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue