13 lines
376 B
Python
13 lines
376 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
class NotNode(ArmLogicTreeNode):
|
|
"""Inverts the plugged-in boolean. If its input is `true` it outputs `false`."""
|
|
bl_idname = 'LNNotNode'
|
|
bl_label = 'Invert Boolean'
|
|
arm_version = 1
|
|
|
|
def arm_init(self, context):
|
|
self.add_input('ArmBoolSocket', 'Bool In')
|
|
|
|
self.add_output('ArmBoolSocket', 'Bool Out')
|