from lnx.logicnode.lnx_nodes import * class SceneRootNode(LnxLogicTreeNode): """Returns the root object of the current scene.""" bl_idname = 'LNSceneRootNode' bl_label = 'Get Scene Root' lnx_version = 1 def lnx_init(self, context): self.add_output('LnxNodeSocketObject', 'Object')