[Bf-blender-cvs] [541d28f] master: Fix T46385: Duplicate w/ vertex parent fails

Campbell Barton noreply at git.blender.org
Tue Oct 6 06:48:59 CEST 2015


Commit: 541d28f1a3b5b62e8e9a384b0628064477553baa
Author: Campbell Barton
Date:   Tue Oct 6 15:20:16 2015 +1100
Branches: master
https://developer.blender.org/rB541d28f1a3b5b62e8e9a384b0628064477553baa

Fix T46385: Duplicate w/ vertex parent fails

Depsgraph customdata flag was set on the parent,
then cleared once the parent object was handled.

This is initialized to zero for new nodes, no need to clear.

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

M	source/blender/blenkernel/intern/depsgraph.c

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

diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index 4373e79..516350e 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -513,7 +513,6 @@ static void build_dag_object(DagForest *dag, DagNode *scenenode, Main *bmain, Sc
 	}
 
 	/* also build a custom data mask for dependencies that need certain layers */
-	node->customdata_mask = 0;
 	
 	if (ob->type == OB_ARMATURE) {
 		if (ob->pose) {




More information about the Bf-blender-cvs mailing list