Fix T53547: Metaballs as dupli objects are not updated with the new Depsgraph
Follow relations from old dependency graph.
This commit is contained in:
parent
2c64615438
commit
2ac33b47dc
Notes:
blender-bot
2023-02-14 06:25:25 +01:00
Referenced by issue #53683, 2.79a release Referenced by issue #53547, Metaballs as dupli objects are not updated with the new Depsgraph
|
@ -1383,6 +1383,13 @@ void DepsgraphRelationBuilder::build_particles(Object *object)
|
|||
if (part->ren_as == PART_DRAW_OB && part->dup_ob) {
|
||||
ComponentKey dup_ob_key(&part->dup_ob->id, DEG_NODE_TYPE_TRANSFORM);
|
||||
add_relation(dup_ob_key, psys_key, "Particle Object Visualization");
|
||||
if (part->dup_ob->type == OB_MBALL) {
|
||||
ComponentKey dup_geometry_key(&part->dup_ob->id,
|
||||
DEG_NODE_TYPE_GEOMETRY);
|
||||
add_relation(psys_key,
|
||||
dup_geometry_key,
|
||||
"Particle MBall Visualization");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue