From b75552ebbbf695e24eeee92767639b8d097e9626 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Thu, 14 Jan 2021 16:49:20 -0600 Subject: [PATCH] UI: Draw socket type colors on the left in group sockets list Previously the colors were on the right for outputs, but this is now unecessary because of the organization in separate panels after rBb1d1a58c77fb1658. --- release/scripts/startup/bl_ui/space_node.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py index e6af83b61f4..a9934850acd 100644 --- a/release/scripts/startup/bl_ui/space_node.py +++ b/release/scripts/startup/bl_ui/space_node.py @@ -678,16 +678,8 @@ class NODE_UL_interface_sockets(bpy.types.UIList): if self.layout_type in {'DEFAULT', 'COMPACT'}: row = layout.row(align=True) - # inputs get icon on the left - if not socket.is_output: - row.template_node_socket(color=color) - + row.template_node_socket(color=color) row.prop(socket, "name", text="", emboss=False, icon_value=icon) - - # outputs get icon on the right - if socket.is_output: - row.template_node_socket(color=color) - elif self.layout_type == 'GRID': layout.alignment = 'CENTER' layout.template_node_socket(color=color)