14 lines
391 B
Python
14 lines
391 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
class IsTrueNode(ArmLogicTreeNode):
|
|
"""Is true node"""
|
|
bl_idname = 'LNIsTrueNode'
|
|
bl_label = 'Is True'
|
|
|
|
def init(self, context):
|
|
self.add_input('ArmNodeSocketAction', 'In')
|
|
self.add_input('NodeSocketBool', 'Value')
|
|
self.add_output('ArmNodeSocketAction', 'Out')
|
|
|
|
add_node(IsTrueNode, category=MODULE_AS_CATEGORY)
|