forked from LeenkxTeam/LNXSDK
Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9
This commit is contained in:
@ -4,10 +4,14 @@ class SplitStringNode(LnxLogicTreeNode):
|
||||
"""Splits the given string."""
|
||||
bl_idname = 'LNSplitStringNode'
|
||||
bl_label = 'Split String'
|
||||
lnx_version = 1
|
||||
lnx_version = 2
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_output('LnxNodeSocketArray', 'Array')
|
||||
|
||||
self.add_input('LnxStringSocket', 'String')
|
||||
self.add_input('LnxStringSocket', 'Split')
|
||||
|
||||
self.add_output('LnxNodeSocketArray', 'Array')
|
||||
self.add_output('LnxIntSocket', 'Length')
|
||||
|
||||
def get_replacement_node(self, node_tree: bpy.types.NodeTree):
|
||||
return NodeReplacement.Identity(self)
|
||||
|
||||
Reference in New Issue
Block a user