瀏覽代碼

cleanup remove old commented lines

Joseph Brandenburg 4 周之前
父節點
當前提交
72f16bd3e6
共有 1 個文件被更改,包括 0 次插入 和 5 次删除
  1. 0 5
      utilities/utilities.py

+ 0 - 5
utilities/utilities.py

@@ -313,8 +313,6 @@ def update_interface(interface, name, in_out, sock_type, parent_name):
     else:
         raise RuntimeError(wrapRed("Cannot add interface item to tree without specifying type."))
 
-
-# D.node_groups['Rigging Nodes'].interface.new_socket('beans', description='the b word', socket_type='NodeSocketGeometry')
 #UGLY BAD REFACTOR
 def relink_socket_map_add_socket(node, socket_collection, item,  in_out=None,):
     from bpy.app import version as bpy_version
@@ -351,9 +349,6 @@ def relink_socket_map_add_socket(node, socket_collection, item,  in_out=None,):
     if read_schema_type(item) == 'Array': s.display_shape = 'SQUARE_DOT'
     elif node.bl_idname in ['MantisSchemaGroup'] and read_schema_type(item) == 'Constant':
         s.display_shape='CIRCLE_DOT'
-
-    # if item.parent.name == 'Array': s.display_shape = 'SQUARE_DOT'
-    # elif item.parent.name == 'Constant': s.display_shape='CIRCLE_DOT'
     return s
 
 # TODO REFACTOR THIS