diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-17 18:52:23 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-17 18:52:23 +0300 |
commit | 6cf7cc3393f976df64476666c6b3dc95f796f535 (patch) | |
tree | 8019f516969442016489663e7cd9b39269bce0da /source/blender | |
parent | 49aeee5a3dfa9fc0ae29e99f7c5c0cc0124e560e (diff) |
Fix T48434: Missing meta support in new depsgraph
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_build_relations.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cc b/source/blender/depsgraph/intern/depsgraph_build_relations.cc index 8b133e4c7ca..52af483d87c 100644 --- a/source/blender/depsgraph/intern/depsgraph_build_relations.cc +++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cc @@ -1690,7 +1690,9 @@ void DepsgraphRelationBuilder::build_obdata_geom(Main *bmain, Scene *scene, Obje if (mom != ob) { /* non-motherball -> cannot be directly evaluated! */ ComponentKey mom_key(&mom->id, DEPSNODE_TYPE_GEOMETRY); + ComponentKey transform_key(&ob->id, DEPSNODE_TYPE_TRANSFORM); add_relation(geom_key, mom_key, DEPSREL_TYPE_GEOMETRY_EVAL, "Metaball Motherball"); + add_relation(transform_key, mom_key, DEPSREL_TYPE_GEOMETRY_EVAL, "Metaball Motherball"); } break; } |