[Bf-blender-cvs] [6a4ca1e] master: Normal edit modifier: Fix relation builder for the new dependency graph

Sergey Sharybin noreply at git.blender.org
Fri Sep 30 11:22:14 CEST 2016


Commit: 6a4ca1e5c0a08806a4b5bbe4a68dfafff0104ae7
Author: Sergey Sharybin
Date:   Fri Sep 30 11:13:28 2016 +0200
Branches: master
https://developer.blender.org/rB6a4ca1e5c0a08806a4b5bbe4a68dfafff0104ae7

Normal edit modifier: Fix relation builder for the new dependency graph

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

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

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

diff --git a/source/blender/modifiers/intern/MOD_normal_edit.c b/source/blender/modifiers/intern/MOD_normal_edit.c
index ceb7dc0..ffe5e6a 100644
--- a/source/blender/modifiers/intern/MOD_normal_edit.c
+++ b/source/blender/modifiers/intern/MOD_normal_edit.c
@@ -533,7 +533,7 @@ static void updateDepsgraph(ModifierData *md,
 {
 	NormalEditModifierData *smd = (NormalEditModifierData *) md;
 	if (smd->target) {
-		DEG_add_object_relation(node, smd->target, DEG_OB_COMP_GEOMETRY, "NormalEdit Modifier");
+		DEG_add_object_relation(node, smd->target, DEG_OB_COMP_TRANSFORM, "NormalEdit Modifier");
 	}
 }




More information about the Bf-blender-cvs mailing list