Fix T71412: Add transform component to deforming modifier
Dynamically bound mesh deform modifiers failed to update the viewport on object transformation of deformer. The TODO by Sergey, which suggested adding the transform component to the depsgraph, was already there, and worked to fix T71412.
This commit is contained in:
parent
8bc57e5b91
commit
f1518d0f28
Notes:
blender-bot
2023-02-14 08:42:54 +01:00
Referenced by issue #71412, Dynamically bound mesh deform modifiers fail to update viewport on object transformation of deformer
|
@ -158,7 +158,7 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte
|
|||
{
|
||||
MeshDeformModifierData *mmd = (MeshDeformModifierData *)md;
|
||||
if (mmd->object != NULL) {
|
||||
/* TODO(sergey): Do we need transform component here? */
|
||||
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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue