Depsgraph: Fix crash when ungrouping node group

We shouldn't tag both COW and shading parameters ocmponents for update at
the same time.
This commit is contained in:
Sergey Sharybin
2017-08-29 17:12:43 +02:00
parent 9deccce07d
commit d34dac1070

View File

@@ -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;