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:
Lukas Tönne 2014-02-19 11:54:28 +01:00
parent 892be8edf7
commit 32ba1ce1c1
Notes: blender-bot 2023-02-14 11:12:12 +01:00
Referenced by issue #38603, Disconnected outpul file
1 changed files with 1 additions and 0 deletions

View 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)) {