Files
LNXSDK/leenkx/blender/lnx/logicnode/logic/LN_once.py

16 lines
361 B
Python
Raw Normal View History

from lnx.logicnode.lnx_nodes import *
import bpy
class OnceNode(LnxLogicTreeNode):
bl_idname = 'LNOnceNode'
bl_label = 'Once'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'Run Once')
self.add_input('LnxNodeSocketAction', 'Reset')
self.add_output('LnxNodeSocketAction', 'Out')