diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-02-19 14:54:28 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2014-02-19 14:55:44 +0400 |
commit | 32ba1ce1c1e19a736da60b6a8c7d8531f084d614 (patch) | |
tree | dff23cca444acb574e27ac49a2ad68bca3b87bab | |
parent | 892be8edf7bc69ad710a18046fc5209b2456e064 (diff) |
Fix T38603: Output File node sockets were drawing the regular socket
label in addition to the actual specialized socket ui.
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index 0c92399a699..effb8eb7de5 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -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)) { |