[Bf-blender-cvs] [ea1751a0385] master: Fix T54594: Lattice with Armature modifier not updating correctly

Sergey Sharybin noreply at git.blender.org
Mon May 7 12:05:11 CEST 2018


Commit: ea1751a03855c428b2815d8086e353842268637f
Author: Sergey Sharybin
Date:   Mon May 7 12:04:50 2018 +0200
Branches: master
https://developer.blender.org/rBea1751a03855c428b2815d8086e353842268637f

Fix T54594: Lattice with Armature modifier not updating correctly

===================================================================

M	source/blender/modifiers/intern/MOD_armature.c

===================================================================

diff --git a/source/blender/modifiers/intern/MOD_armature.c b/source/blender/modifiers/intern/MOD_armature.c
index 22ec13cd0a0..579854be725 100644
--- a/source/blender/modifiers/intern/MOD_armature.c
+++ b/source/blender/modifiers/intern/MOD_armature.c
@@ -118,6 +118,7 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte
 		DEG_add_object_relation(ctx->node, amd->object, DEG_OB_COMP_EVAL_POSE, "Armature Modifier");
 		DEG_add_object_relation(ctx->node, amd->object, DEG_OB_COMP_TRANSFORM, "Armature Modifier");
 	}
+	DEG_add_object_relation(ctx->node, ctx->object, DEG_OB_COMP_TRANSFORM, "Armature Modifier");
 }
 
 static void deformVerts(ModifierData *md, Object *ob,



More information about the Bf-blender-cvs mailing list