Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Tönne <lukas.toenne@gmail.com>2014-02-19 14:54:28 +0400
committerLukas Tönne <lukas.toenne@gmail.com>2014-02-19 14:55:44 +0400
commit32ba1ce1c1e19a736da60b6a8c7d8531f084d614 (patch)
treedff23cca444acb574e27ac49a2ad68bca3b87bab
parent892be8edf7bc69ad710a18046fc5209b2456e064 (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.c1
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)) {