Update Files
This commit is contained in:
15
leenkx/blender/lnx/logicnode/object/LN_get_object_parent.py
Normal file
15
leenkx/blender/lnx/logicnode/object/LN_get_object_parent.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetParentNode(LnxLogicTreeNode):
|
||||
"""Returns the direct parent (nearest in the hierarchy) of the given object.
|
||||
|
||||
@seeNode Set Object Parent"""
|
||||
bl_idname = 'LNGetParentNode'
|
||||
bl_label = 'Get Object Parent'
|
||||
lnx_section = 'relations'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketObject', 'Child')
|
||||
|
||||
self.add_output('LnxNodeSocketObject', 'Parent')
|
Reference in New Issue
Block a user