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:
authorPhilipp Oeser <info@graphics-engineer.com>2019-02-12 17:35:13 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-02-12 17:57:05 +0300
commit43139bf8b4cd035995a7bb4a47abcb8d9c3c3e48 (patch)
tree66d2243db71451a3a9da6c1152c60b39d3fa95e8 /source/blender/editors/space_node
parent3797fdcfc160e8b413ebb5dc825728a77c72374c (diff)
Fix T61428: Node editor's 'Interface' panel shows in all tabs
Reviewers: brecht Maniphest Tasks: T61428 Differential Revision: https://developer.blender.org/D4343
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/node_buttons.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/node_buttons.c b/source/blender/editors/space_node/node_buttons.c
index c98fbabd229..c1c852344ac 100644
--- a/source/blender/editors/space_node/node_buttons.c
+++ b/source/blender/editors/space_node/node_buttons.c
@@ -180,6 +180,7 @@ void node_buttons_register(ARegionType *art)
pt = MEM_callocN(sizeof(PanelType), "spacetype node panel node sockets");
strcpy(pt->idname, "NODE_PT_sockets");
+ strcpy(pt->category, N_("Node"));
strcpy(pt->label, N_("Sockets"));
strcpy(pt->translation_context, BLT_I18NCONTEXT_DEFAULT_BPYRNA);
pt->draw = node_sockets_panel;
@@ -189,6 +190,7 @@ void node_buttons_register(ARegionType *art)
pt = MEM_callocN(sizeof(PanelType), "spacetype node panel tree interface");
strcpy(pt->idname, "NODE_PT_node_tree_interface");
+ strcpy(pt->category, N_("Node"));
strcpy(pt->label, N_("Interface"));
strcpy(pt->translation_context, BLT_I18NCONTEXT_DEFAULT_BPYRNA);
pt->draw = node_tree_interface_panel;