From fe5933a972e15656bdfa1af9eaa0cf64619c9425 Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Thu, 12 Mar 2020 15:27:35 +0100 Subject: 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. --- source/blender/modifiers/intern/MOD_softbody.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/modifiers/intern') diff --git a/source/blender/modifiers/intern/MOD_softbody.c b/source/blender/modifiers/intern/MOD_softbody.c index 48ccd9b83ed..af6de8447ec 100644 --- a/source/blender/modifiers/intern/MOD_softbody.c +++ b/source/blender/modifiers/intern/MOD_softbody.c @@ -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 = { -- cgit v1.2.3