Commit: 0ef4fc7c2bc0bf918fff5a986261d9f70a4505ff
Author: Sergey Sharybin
Date: Tue May 17 17:52:23 2016 +0200
Branches: compositor-2016
https://developer.blender.org/rB0ef4fc7c2bc0bf918fff5a986261d9f70a4505ff
Fix T48434: Missing meta support in new depsgraph
===================================================================
M source/blender/depsgraph/intern/depsgraph_build_relations.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cc
b/source/blender/depsgraph/intern/depsgraph_build_relations.cc
index 8b133e4..52af483 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;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs