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
path: root/source
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2011-12-19 15:55:35 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2011-12-19 15:55:35 +0400
commita9f026644852b546fdb6ca8944a14eea75e48267 (patch)
tree379c40d88024d58a359db11dffa9abb66c8595b9 /source
parent90ef435145416313596cafa6f8c4c6c6aebe4e44 (diff)
Display button for hiding unused node sockets in the side bar, as an alternative to the removed node header button.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_node/node_buttons.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/node_buttons.c b/source/blender/editors/space_node/node_buttons.c
index 15e5719be37..1b5f2417384 100644
--- a/source/blender/editors/space_node/node_buttons.c
+++ b/source/blender/editors/space_node/node_buttons.c
@@ -115,6 +115,9 @@ static void active_node_panel(const bContext *C, Panel *pa)
uiItemS(layout);
uiItemR(layout, &ptr, "name", 0, NULL, ICON_NODE);
uiItemS(layout);
+
+ uiItemO(layout, NULL, 0, "NODE_OT_hide_socket_toggle");
+ uiItemS(layout);
/* draw this node's settings */
if (node->typeinfo && node->typeinfo->uifuncbut)