瀏覽代碼

Disable "Connected To" feature

this one is a little too ambitious and it will be too hard to implement
Joseph Brandenburg 3 周之前
父節點
當前提交
e14e03e97e
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      socket_definitions.py

+ 3 - 2
socket_definitions.py

@@ -344,8 +344,9 @@ def interface_draw(self, context, layout):
         layout.prop(self, "is_array", text="Is Array", toggle=True,)
     if not self.is_array and self.id_data.bl_idname == 'SchemaTree':
         layout.prop(self, "is_connection", text="Is Connection", toggle=True,)
-        if self.is_connection: # only show this if in a Schema AND set to is_connection
-            layout.prop(self, "connected_to", text="Connected To", toggle=True,)
+        if False: # DISABLED for now because it will take a big change to Schema to make this work.
+            if self.is_connection: # only show this if in a Schema AND set to is_connection
+                layout.prop(self, "connected_to", text="Connected To", toggle=True,)
 
 # Different classes to handle different data types. In the future, these should also
 #  have settable min/max and such where appropriate