Fix T61428: Node editor's 'Interface' panel shows in all tabs
Reviewers: brecht Maniphest Tasks: T61428 Differential Revision: https://developer.blender.org/D4343
This commit is contained in:
parent
3797fdcfc1
commit
43139bf8b4
Notes:
blender-bot
2023-02-14 09:44:56 +01:00
Referenced by issue #61460, Crash: Stereoscopy + Desnoising + GPU crashes Referenced by issue #61428, Node editor's "Interface" panel shows in all tabs
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue