diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-30 19:00:24 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-30 19:00:24 +0300 |
commit | 21db9fff125410d05f17a6663c0e8be583b5f98f (patch) | |
tree | 699154359227e67c13c4d211ebaf423a20d49182 /source | |
parent | 00bfca21780f69428ce042ca2a06524b6daf6c31 (diff) |
Fix T45238: New depsgraph flickers with the lattice modifier
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/modifiers/intern/MOD_lattice.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_lattice.c b/source/blender/modifiers/intern/MOD_lattice.c index b8975beaf83..52a4f441b63 100644 --- a/source/blender/modifiers/intern/MOD_lattice.c +++ b/source/blender/modifiers/intern/MOD_lattice.c @@ -110,13 +110,15 @@ static void updateDepgraph(ModifierData *md, DagForest *forest, static void updateDepsgraph(ModifierData *md, struct Main *UNUSED(bmain), struct Scene *UNUSED(scene), - Object *UNUSED(ob), + Object *object, struct DepsNodeHandle *node) { LatticeModifierData *lmd = (LatticeModifierData *)md; if (lmd->object != NULL) { DEG_add_object_relation(node, lmd->object, DEG_OB_COMP_GEOMETRY, "Lattice Modifier"); + DEG_add_object_relation(node, lmd->object, DEG_OB_COMP_TRANSFORM, "Lattice Modifier"); } + DEG_add_object_relation(node, object, DEG_OB_COMP_TRANSFORM, "Lattice Modifier"); } static void deformVerts(ModifierData *md, Object *ob, |