Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-10-05 13:37:09 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-10-05 13:37:09 +0300
commit3caa830c113ffc576f9b6d41365adc7799a1075c (patch)
tree9e700148e7901d460352cf569a4753019ece3ecd /source/blender/blenkernel/intern/object.c
parent4f1f9498777dec3740df86b236d24a527db3f183 (diff)
Fix T49501: Animations imported via alembic render with wrong or no motion blur
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r--source/blender/blenkernel/intern/object.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index d87c257d555..a059055a49e 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -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;
}