Fix T48434: Missing meta support in new depsgraph

This commit is contained in:
Sergey Sharybin 2016-05-17 17:52:23 +02:00
parent 49aeee5a3d
commit 6cf7cc3393
Notes: blender-bot 2023-02-14 07:53:46 +01:00
Referenced by issue #48434, Missing meta support in new depsgraph
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}