SelfNode -> SelfObjectNode
This commit is contained in:
parent
8559505d2f
commit
ce3a4dd1a0
|
@ -1,12 +0,0 @@
|
|||
from arm.logicnode.arm_nodes import *
|
||||
|
||||
class SelfNode(ArmLogicTreeNode):
|
||||
"""Self node"""
|
||||
bl_idname = 'LNSelfNode'
|
||||
bl_label = 'Self'
|
||||
bl_icon = 'NONE'
|
||||
|
||||
def init(self, context):
|
||||
self.add_output('ArmNodeSocketObject', 'Object')
|
||||
|
||||
add_node(SelfNode, category=MODULE_AS_CATEGORY)
|
12
blender/arm/logicnode/object/LN_self_object.py
Normal file
12
blender/arm/logicnode/object/LN_self_object.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
from arm.logicnode.arm_nodes import *
|
||||
|
||||
class SelfObjectNode(ArmLogicTreeNode):
|
||||
"""Returns the object that owns the current trait."""
|
||||
bl_idname = 'LNSelfNode'
|
||||
bl_label = 'Self Object'
|
||||
bl_icon = 'NONE'
|
||||
|
||||
def init(self, context):
|
||||
self.add_output('ArmNodeSocketObject', 'Object')
|
||||
|
||||
add_node(SelfObjectNode, category=MODULE_AS_CATEGORY)
|
Loading…
Reference in a new issue