13 lines
331 B
Python
13 lines
331 B
Python
|
from lnx.logicnode.lnx_nodes import *
|
||
|
|
||
|
class ShutdownNode(LnxLogicTreeNode):
|
||
|
"""Closes the application."""
|
||
|
bl_idname = 'LNShutdownNode'
|
||
|
bl_label = 'Shutdown'
|
||
|
lnx_version = 1
|
||
|
|
||
|
def lnx_init(self, context):
|
||
|
self.add_input('LnxNodeSocketAction', 'In')
|
||
|
|
||
|
self.add_output('LnxNodeSocketAction', 'Out')
|