[Bf-blender-cvs] [b5be65dc0ef] master: Depsgraph: Forgot this in previous commit

Sergey Sharybin noreply at git.blender.org
Wed Dec 6 11:58:06 CET 2017


Commit: b5be65dc0efec52e1fb0074405c541ca5e2c7ea4
Author: Sergey Sharybin
Date:   Wed Dec 6 11:57:57 2017 +0100
Branches: master
https://developer.blender.org/rBb5be65dc0efec52e1fb0074405c541ca5e2c7ea4

Depsgraph: Forgot this in previous commit

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

M	source/blender/depsgraph/intern/builder/deg_builder_relations.cc

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

diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index 5b7b4d4b533..f607fbd5380 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -1696,6 +1696,9 @@ void DepsgraphRelationBuilder::build_nodetree(bNodeTree *ntree)
 			 * pipeline. No need to build dependencies for them here.
 			 */
 		}
+		else if (id_type == ID_TXT) {
+			/* Ignore script nodes. */
+		}
 		else if (bnode->type == NODE_GROUP) {
 			bNodeTree *group_ntree = (bNodeTree *)id;
 			if ((group_ntree->id.tag & LIB_TAG_DOIT) == 0) {



More information about the Bf-blender-cvs mailing list