armory/blender/arm/logicnode/trait/LN_self_trait.py

12 lines
341 B
Python
Raw Normal View History

2017-04-14 20:38:50 +02:00
from arm.logicnode.arm_nodes import *
class SelfTraitNode(ArmLogicTreeNode):
2020-10-05 19:55:56 +02:00
"""Returns the trait that owns this node."""
2017-04-14 20:38:50 +02:00
bl_idname = 'LNSelfTraitNode'
bl_label = 'Self Trait'
arm_version = 1
2017-04-14 20:38:50 +02:00
def init(self, context):
super(SelfTraitNode, self).init(context)
self.add_output('ArmDynamicSocket', 'Trait')