diff options
-rw-r--r-- | source/blender/editors/space_node/drawnode.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/drawnode.cc b/source/blender/editors/space_node/drawnode.cc index 0b11aa37981..13d13b10339 100644 --- a/source/blender/editors/space_node/drawnode.cc +++ b/source/blender/editors/space_node/drawnode.cc @@ -1588,7 +1588,7 @@ void draw_nodespace_back_pix(const bContext &C, static float2 socket_link_connection_location(const bNodeSocket &socket, const bNodeLink &link) { const float2 socket_location(socket.locx, socket.locy); - if (socket.flag & SOCK_MULTI_INPUT && socket.in_out == SOCK_IN) { + if (socket.is_multi_input() && socket.is_input() && !(socket.owner_node().flag & NODE_HIDDEN)) { return node_link_calculate_multi_input_position( socket_location, link.multi_input_socket_index, socket.total_inputs); } |