2020-09-08 17:03:24 +02:00
|
|
|
from bpy.types import Node
|
|
|
|
|
2017-04-10 21:17:17 +02:00
|
|
|
from arm.logicnode.arm_nodes import *
|
|
|
|
|
2020-09-08 17:03:24 +02:00
|
|
|
|
2017-04-10 21:17:17 +02:00
|
|
|
class IsFalseNode(Node, ArmLogicTreeNode):
|
2020-09-08 17:03:24 +02:00
|
|
|
"""Is False node"""
|
2017-04-10 21:17:17 +02:00
|
|
|
bl_idname = 'LNIsFalseNode'
|
|
|
|
bl_label = 'Is False'
|
2020-08-07 19:03:29 +02:00
|
|
|
bl_icon = 'NONE'
|
2020-09-08 17:03:24 +02:00
|
|
|
|
2017-04-10 21:17:17 +02:00
|
|
|
def init(self, context):
|
|
|
|
self.inputs.new('ArmNodeSocketAction', 'In')
|
|
|
|
self.inputs.new('NodeSocketBool', 'Value')
|
|
|
|
self.outputs.new('ArmNodeSocketAction', 'Out')
|
|
|
|
|
2020-09-08 17:03:24 +02:00
|
|
|
|
|
|
|
add_node(IsFalseNode, category=MODULE_AS_CATEGORY)
|