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:
authorLukas Toenne <lukas.toenne@googlemail.com>2013-05-08 19:41:09 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2013-05-08 19:41:09 +0400
commita092611f67865bb097b49cbbb37fb59489f52c16 (patch)
tree00cf74a305e7f0cc08e09fbd68ac173594ea2903 /release
parentd7c74acab14183c7e444cc06e66824590e12391b (diff)
Fix for node item polling: recursion check was the wrong way around, needs to test is the parent tree is inside the group.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/nodeitems_builtins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/nodeitems_builtins.py b/release/scripts/startup/nodeitems_builtins.py
index ee32045367b..79da536e1f6 100644
--- a/release/scripts/startup/nodeitems_builtins.py
+++ b/release/scripts/startup/nodeitems_builtins.py
@@ -75,7 +75,7 @@ def node_group_items(context):
if group.bl_idname != ntree.bl_idname:
continue
# filter out recursive groups
- if contains_group(ntree, group):
+ if contains_group(group, ntree):
continue
yield NodeItem(node_tree_group_type[group.bl_idname], group.name, { "node_tree" : "bpy.data.node_groups['%s']" % group.name })