LNXSDK/leenkx/blender/lnx/logicnode/logic/LN_loop_break.py

17 lines
405 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
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')