11 lines
341 B
Python
11 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('NodeSocketShader', 'Trait')
|