Browse Source

Fix: no Boolean Vector Input node

Joseph Brandenburg 2 months ago
parent
commit
e21b8489b4
2 changed files with 3 additions and 1 deletions
  1. 1 0
      __init__.py
  2. 2 1
      misc_nodes_ui.py

+ 1 - 0
__init__.py

@@ -74,6 +74,7 @@ input_category=[
             NodeItem("InputFloatNode"),
             NodeItem("InputVectorNode"),
             NodeItem("InputBooleanNode"),
+            NodeItem("InputBooleanThreeTupleNode"),
             NodeItem("InputStringNode"),
             NodeItem("InputIntNode"),
             NodeItem("InputMatrixNode"),

+ 2 - 1
misc_nodes_ui.py

@@ -140,7 +140,8 @@ class InputBooleanThreeTupleNode(Node, MantisUINode):
     mantis_node_class_name=bl_idname[:-4]
 
     def init(self, context):
-        self.outputs.new('BooleanThreeTupleSocket', "")
+        o = self.outputs.new('BooleanThreeTupleSocket', "")
+        o.input = True
         self.initialized = True
 
 class InputRotationOrderNode(Node, MantisUINode):