13 lines
410 B
Python
13 lines
410 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
class PauseTraitNode(ArmLogicTreeNode):
|
|
"""Pause trait node"""
|
|
bl_idname = 'LNPauseTraitNode'
|
|
bl_label = 'Pause Trait'
|
|
|
|
def init(self, context):
|
|
self.add_input('ArmNodeSocketAction', 'In')
|
|
self.add_input('NodeSocketShader', 'Trait')
|
|
self.add_output('ArmNodeSocketAction', 'Out')
|
|
|
|
add_node(PauseTraitNode, category=PKG_AS_CATEGORY)
|