[Bf-blender-cvs] [d34dac10706] blender2.8: Depsgraph: Fix crash when ungrouping node group

Sergey Sharybin noreply at git.blender.org
Tue Aug 29 17:13:15 CEST 2017


Commit: d34dac10706506efb3d7d43553a2d0278eb0ae3d
Author: Sergey Sharybin
Date:   Tue Aug 29 17:12:43 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBd34dac10706506efb3d7d43553a2d0278eb0ae3d

Depsgraph: Fix crash when ungrouping node group

We shouldn't tag both COW and shading parameters ocmponents for update at
the same time.

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

M	source/blender/depsgraph/intern/nodes/deg_node.cc

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

diff --git a/source/blender/depsgraph/intern/nodes/deg_node.cc b/source/blender/depsgraph/intern/nodes/deg_node.cc
index 0f28be1aaf4..5e7ed249365 100644
--- a/source/blender/depsgraph/intern/nodes/deg_node.cc
+++ b/source/blender/depsgraph/intern/nodes/deg_node.cc
@@ -281,6 +281,9 @@ void IDDepsNode::tag_update(Depsgraph *graph)
 				do_component_tag = false;
 			}
 		}
+		else if (comp_node->type == DEG_NODE_TYPE_SHADING_PARAMETERS) {
+			do_component_tag = false;
+		}
 		else if (comp_node->type == DEG_NODE_TYPE_EVAL_PARTICLES) {
 			/* Only do explicit particle settings tagging. */
 			do_component_tag = false;



More information about the Bf-blender-cvs mailing list