We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c25f12 commit 8a1b4c4Copy full SHA for 8a1b4c4
api/tree.py
@@ -162,7 +162,10 @@ def validate_param(param):
162
# Return a function that creates a NodeGroup node in the tree.
163
# This lets @trees be used in other @trees via simple function calls.
164
def group_reference(*args, **kwargs):
165
- result = geometrynodegroup(node_tree=node_group, *args, **kwargs)
+ if IS_BLENDER_4:
166
+ result = geometrynodegroup(node_tree=node_group, *args, **kwargs)
167
+ else:
168
+ result = group(node_tree=node_group, *args, **kwargs)
169
group_outputs = []
170
for group_output in result._socket.node.outputs:
171
group_outputs.append(Type(group_output))
0 commit comments