Fix T38603: Output File node sockets were drawing the regular socket
label in addition to the actual specialized socket ui.
This commit is contained in:
parent
892be8edf7
commit
32ba1ce1c1
Notes:
blender-bot
2023-02-14 11:12:12 +01:00
Referenced by issue #38603, Disconnected outpul file
|
@ -2867,6 +2867,7 @@ static void std_node_socket_draw(bContext *C, uiLayout *layout, PointerRNA *ptr,
|
|||
/* XXX not nice, eventually give this node its own socket type ... */
|
||||
if (node->type == CMP_NODE_OUTPUT_FILE) {
|
||||
node_file_output_socket_draw(C, layout, ptr, node_ptr);
|
||||
return;
|
||||
}
|
||||
|
||||
if ((sock->in_out == SOCK_OUT) || (sock->flag & SOCK_IN_USE) || (sock->flag & SOCK_HIDE_VALUE)) {
|
||||
|
|
Loading…
Reference in New Issue