forked from LeenkxTeam/LNXSDK
Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9
This commit is contained in:
@ -10,12 +10,16 @@ class GroupNode(LnxLogicTreeNode):
|
||||
bl_idname = 'LNGroupNode'
|
||||
bl_label = 'Collection'
|
||||
lnx_section = 'collection'
|
||||
lnx_version = 1
|
||||
lnx_version = 2
|
||||
|
||||
property0: HaxePointerProperty('property0', name='', type=bpy.types.Collection)
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_output('LnxNodeSocketArray', 'Array')
|
||||
self.add_output('LnxIntSocket', 'Length')
|
||||
|
||||
def draw_buttons(self, context, layout):
|
||||
layout.prop_search(self, 'property0', bpy.data, 'collections', icon='NONE', text='')
|
||||
|
||||
def get_replacement_node(self, node_tree: bpy.types.NodeTree):
|
||||
return NodeReplacement.Identity(self)
|
||||
|
||||
Reference in New Issue
Block a user