forked from bartvdbraak/blender
Fix T49501: Animations imported via alembic render with wrong or no motion blur
This commit is contained in:
parent
4f1f949877
commit
3caa830c11
@ -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
Block a user