Ver Fonte

Disable "Connected To" feature

this one is a little too ambitious and it will be too hard to implement
Joseph Brandenburg há 3 semanas atrás
pai
commit
53f245071d
1 ficheiros alterados com 3 adições e 2 exclusões
  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