forked from LeenkxTeam/LNXSDK
Blender 2.8 - 4.5 Support
This commit is contained in:
@ -27,7 +27,10 @@ class GroupOutputsNode(LnxLogicTreeNode):
|
||||
copy_override: BoolProperty(name='copy override', description='', default=False)
|
||||
|
||||
def init(self, context):
|
||||
tree = bpy.context.space_data.edit_tree
|
||||
if bpy.context.space_data is not None:
|
||||
tree = bpy.context.space_data.edit_tree
|
||||
else:
|
||||
return
|
||||
node_count = 0
|
||||
for node in tree.nodes:
|
||||
if node.bl_idname == 'LNGroupOutputsNode':
|
||||
|
Reference in New Issue
Block a user