1
1

Fix T101361: Collapsed multi-input sockets not collapsing noodles

Caused by 40d815dff6, which removed the check for "hidden" nodes.

Differential Revision: https://developer.blender.org/D16061
This commit is contained in:
Iliya Katueshenock
2022-09-26 18:10:27 -05:00
committed by Hans Goudey
parent dcd909122f
commit 8da253cfb6

View File

@@ -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);
}