Depsgraph: Forgot this in previous commit
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 6 Dec 2017 10:57:57 +0000 (11:57 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 6 Dec 2017 10:57:57 +0000 (11:57 +0100)
source/blender/depsgraph/intern/builder/deg_builder_relations.cc

index 5b7b4d4b533d763eb5418cb29437f9f69b66c1a7..f607fbd5380aa2bdc08c87df0d416a6359dc1d88 100644 (file)
@@ -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) {