Fix T71961: Soft body behavior is incorrect when CTRL + F12 animation is rendered.
The softbody modifier was missing the transform depsgraph relation and thus the object matrix would not get updated during animation render.
This commit is contained in:
parent
37a07f812b
commit
fe5933a972
Notes:
blender-bot
2023-02-14 00:06:48 +01:00
Referenced by issue #75137, Bug : Soft-body simulation not stable while parented Referenced by issue #71961, Soft body behavior is incorrect when CTRL + F12 animation is rendered.
|
@ -69,6 +69,8 @@ static void updateDepsgraph(ModifierData *UNUSED(md), const ModifierUpdateDepsgr
|
|||
DEG_add_forcefield_relations(
|
||||
ctx->node, ctx->object, ctx->object->soft->effector_weights, true, 0, "Softbody Field");
|
||||
}
|
||||
/* We need own transformation as well. */
|
||||
DEG_add_modifier_to_transform_relation(ctx->node, "SoftBody Modifier");
|
||||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Softbody = {
|
||||
|
|
Loading…
Reference in New Issue