Fix T75885: Mesh deform modifier not updating on own transforms
Added the missing relation. Maniphest Tasks: T75885 Differential Revision: https://developer.blender.org/D7473
This commit is contained in:
parent
7865185d98
commit
be7c51d076
Notes:
blender-bot
2023-02-14 08:08:56 +01:00
Referenced by issue #75885, Mesh deform modifier not updating when rotating modified object in viewport
|
@ -161,6 +161,8 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte
|
|||
DEG_add_object_relation(ctx->node, mmd->object, DEG_OB_COMP_TRANSFORM, "Mesh Deform Modifier");
|
||||
DEG_add_object_relation(ctx->node, mmd->object, DEG_OB_COMP_GEOMETRY, "Mesh Deform Modifier");
|
||||
}
|
||||
/* We need own transformation as well. */
|
||||
DEG_add_modifier_to_transform_relation(ctx->node, "Mesh Deform Modifier");
|
||||
}
|
||||
|
||||
static float meshdeform_dynamic_bind(MeshDeformModifierData *mmd, float (*dco)[3], float vec[3])
|
||||
|
|
Loading…
Reference in New Issue