armory/blender/arm/logicnode/trait/LN_self_trait.py
Moritz Brückner 96aa0ee890 Use custom sockets for default data types
This allows to listen for socket updates for the live patch system
2021-07-10 21:46:44 +02:00

12 lines
341 B
Python

from arm.logicnode.arm_nodes import *
class SelfTraitNode(ArmLogicTreeNode):
"""Returns the trait that owns this node."""
bl_idname = 'LNSelfTraitNode'
bl_label = 'Self Trait'
arm_version = 1
def init(self, context):
super(SelfTraitNode, self).init(context)
self.add_output('ArmDynamicSocket', 'Trait')