Depsgraph: Fix missinf relation for particle instance modifier
Was causing lack of animation update when particle system had simulation,
This commit is contained in:
parent
3811998177
commit
f28aec17e9
Notes:
blender-bot
2023-02-14 09:38:57 +01:00
Referenced by issue #55478, Default cube reappears after having been deleted when editing vert count of new mesh circle Referenced by issue #54717, nVidia GPU not detected
|
@ -130,6 +130,7 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte
|
|||
ParticleInstanceModifierData *pimd = (ParticleInstanceModifierData *) md;
|
||||
if (pimd->ob != NULL) {
|
||||
DEG_add_object_relation(ctx->node, pimd->ob, DEG_OB_COMP_TRANSFORM, "Particle Instance Modifier");
|
||||
DEG_add_object_relation(ctx->node, pimd->ob, DEG_OB_COMP_GEOMETRY, "Particle Instance Modifier");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue