LNXSDK/leenkx/blender/lnx/logicnode/scene/LN_get_scene_active.py

11 lines
293 B
Python
Raw Permalink Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class ActiveSceneNode(LnxLogicTreeNode):
"""Returns the active scene."""
bl_idname = 'LNActiveSceneNode'
bl_label = 'Get Scene Active'
lnx_version = 1
def lnx_init(self, context):
self.add_output('LnxDynamicSocket', 'Scene')