diff --git a/source/blender/editors/interface/templates/interface_template_node_inputs.cc b/source/blender/editors/interface/templates/interface_template_node_inputs.cc index e32dbe66819..ad2f83a14d5 100644 --- a/source/blender/editors/interface/templates/interface_template_node_inputs.cc +++ b/source/blender/editors/interface/templates/interface_template_node_inputs.cc @@ -47,7 +47,10 @@ static void draw_node_input(bContext *C, if (!socket.is_available()) { return; } - if ((socket.flag & (SOCK_IS_LINKED | SOCK_HIDE_VALUE)) != 0) { + if (socket.is_directly_linked()) { + return; + } + if (socket.flag & SOCK_HIDE_VALUE) { return; } if (socket.typeinfo->draw == nullptr) { diff --git a/source/blender/editors/space_node/drawnode.cc b/source/blender/editors/space_node/drawnode.cc index f6c67bbe1cb..a8e7bb663e2 100644 --- a/source/blender/editors/space_node/drawnode.cc +++ b/source/blender/editors/space_node/drawnode.cc @@ -1333,7 +1333,7 @@ static void std_node_socket_draw( } if ((sock->in_out == SOCK_OUT) || (sock->flag & SOCK_HIDE_VALUE) || - ((sock->flag & SOCK_IS_LINKED) && !all_links_muted(*sock))) + (sock->is_directly_linked() && !all_links_muted(*sock))) { draw_node_socket_without_value(layout, sock, text); return;