Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-12-06 13:54:52 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-12-06 13:54:52 +0300
commit5ad3cc4e03e1b656fc2afb0dcf89601dd38ae0fa (patch)
tree054a8d5aae6893cb5fbe04cc311c63f12631c31d /source/blender/depsgraph
parent1027ddfa2d2dc115da8fc48d0bea801a1ff1ce2b (diff)
Depsgraph: Ignore text datablocks from nodes
Those are not part of dependency graph, but still could be referenced from the tree.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_nodes.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
index 7e437d97b57..fdeeb0de16f 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
@@ -984,6 +984,9 @@ void DepsgraphNodeBuilder::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) {