[Bf-blender-cvs] [6c974e7] depsgraph_refactor: Depsgraph: Use proper dependency for the armature modifier

Sergey Sharybin noreply at git.blender.org
Thu Nov 20 17:44:41 CET 2014


Commit: 6c974e7ebfc213885986bc9e8c94a48d001f0435
Author: Sergey Sharybin
Date:   Thu Nov 20 17:43:48 2014 +0100
Branches: depsgraph_refactor
https://developer.blender.org/rB6c974e7ebfc213885986bc9e8c94a48d001f0435

Depsgraph: Use proper dependency for the armature modifier

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

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 47105b6..556e955 100644
--- a/source/blender/modifiers/intern/MOD_armature.c
+++ b/source/blender/modifiers/intern/MOD_armature.c
@@ -122,7 +122,7 @@ static void updateDepsgraph(ModifierData *md,
 	ArmatureModifierData *amd = (ArmatureModifierData *) md;
 
 	if (amd->object != NULL) {
-		DEG_add_object_relation(node, amd->object, DEG_OB_COMP_GEOMETRY, "Armature Modifier");
+		DEG_add_object_relation(node, amd->object, DEG_OB_COMP_EVAL_POSE, "Armature Modifier");
 	}
 }




More information about the Bf-blender-cvs mailing list