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-05-17 18:52:23 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-05-17 18:52:23 +0300
commit6cf7cc3393f976df64476666c6b3dc95f796f535 (patch)
tree8019f516969442016489663e7cd9b39269bce0da
parent49aeee5a3dfa9fc0ae29e99f7c5c0cc0124e560e (diff)
Fix T48434: Missing meta support in new depsgraph
-rw-r--r--source/blender/depsgraph/intern/depsgraph_build_relations.cc2
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;
}