forked from LeenkxTeam/LNXSDK
17 lines
405 B
Python
17 lines
405 B
Python
|
from lnx.logicnode.lnx_nodes import *
|
||
|
|
||
|
class LoopBreakNode(LnxLogicTreeNode):
|
||
|
"""Terminates the currently executing loop (only one loop is
|
||
|
executed at once).
|
||
|
|
||
|
@seeNode Loop
|
||
|
@seeNode While
|
||
|
"""
|
||
|
bl_idname = 'LNLoopBreakNode'
|
||
|
bl_label = 'Loop Break'
|
||
|
lnx_section = 'flow'
|
||
|
lnx_version = 1
|
||
|
|
||
|
def lnx_init(self, context):
|
||
|
self.add_input('LnxNodeSocketAction', 'In')
|