[Bf-blender-cvs] [cf660b2a02] surface-deform-modifier: Review: Fix depsgraph relation

Luca Rood noreply at git.blender.org
Wed Jan 25 07:08:08 CET 2017


Commit: cf660b2a02ac0c9806a1cf1267d9141836114295
Author: Luca Rood
Date:   Mon Jan 23 21:12:12 2017 -0200
Branches: surface-deform-modifier
https://developer.blender.org/rBcf660b2a02ac0c9806a1cf1267d9141836114295

Review: Fix depsgraph relation

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

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

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

diff --git a/source/blender/modifiers/intern/MOD_surfacedeform.c b/source/blender/modifiers/intern/MOD_surfacedeform.c
index f9791f3361..6a23eea3b6 100644
--- a/source/blender/modifiers/intern/MOD_surfacedeform.c
+++ b/source/blender/modifiers/intern/MOD_surfacedeform.c
@@ -151,9 +151,7 @@ static void updateDepgraph(ModifierData *md, DagForest *forest,
 	if (smd->target) {
 		DagNode *curNode = dag_get_node(forest, smd->target);
 
-		dag_add_relation(forest, curNode, obNode,
-		                 DAG_RL_DATA_DATA | DAG_RL_OB_DATA | DAG_RL_DATA_OB | DAG_RL_OB_OB,
-		                 "Surface Deform Modifier");
+		dag_add_relation(forest, curNode, obNode, DAG_RL_DATA_DATA, "Surface Deform Modifier");
 	}
 }




More information about the Bf-blender-cvs mailing list