15 lines
445 B
Python
15 lines
445 B
Python
|
from lnx.logicnode.lnx_nodes import *
|
||
|
|
||
|
class SetSceneNode(LnxLogicTreeNode):
|
||
|
"""Sets the active scene."""
|
||
|
bl_idname = 'LNSetSceneNode'
|
||
|
bl_label = 'Set Scene Active'
|
||
|
lnx_version = 1
|
||
|
|
||
|
def lnx_init(self, context):
|
||
|
self.add_input('LnxNodeSocketAction', 'In')
|
||
|
self.add_input('LnxDynamicSocket', 'Scene')
|
||
|
|
||
|
self.add_output('LnxNodeSocketAction', 'Out')
|
||
|
self.add_output('LnxNodeSocketObject', 'Root')
|