UI: rename node editor sidebar categories
* `Node` -> `Group` * `Item` -> `Node` Differential Revision: https://developer.blender.org/D10804
This commit is contained in:
@@ -481,7 +481,7 @@ class NODE_MT_context_menu(Menu):
|
||||
class NODE_PT_active_node_generic(Panel):
|
||||
bl_space_type = 'NODE_EDITOR'
|
||||
bl_region_type = 'UI'
|
||||
bl_category = "Item"
|
||||
bl_category = "Node"
|
||||
bl_label = "Node"
|
||||
|
||||
@classmethod
|
||||
@@ -499,7 +499,7 @@ class NODE_PT_active_node_generic(Panel):
|
||||
class NODE_PT_active_node_color(Panel):
|
||||
bl_space_type = 'NODE_EDITOR'
|
||||
bl_region_type = 'UI'
|
||||
bl_category = "Item"
|
||||
bl_category = "Node"
|
||||
bl_label = "Color"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
bl_parent_id = 'NODE_PT_active_node_generic'
|
||||
@@ -529,7 +529,7 @@ class NODE_PT_active_node_color(Panel):
|
||||
class NODE_PT_active_node_properties(Panel):
|
||||
bl_space_type = 'NODE_EDITOR'
|
||||
bl_region_type = 'UI'
|
||||
bl_category = "Item"
|
||||
bl_category = "Node"
|
||||
bl_label = "Properties"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
|
||||
@@ -570,7 +570,7 @@ class NODE_PT_active_node_properties(Panel):
|
||||
class NODE_PT_texture_mapping(Panel):
|
||||
bl_space_type = 'NODE_EDITOR'
|
||||
bl_region_type = 'UI'
|
||||
bl_category = "Item"
|
||||
bl_category = "Node"
|
||||
bl_label = "Texture Mapping"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
|
||||
|
||||
@@ -198,7 +198,7 @@ void node_buttons_register(ARegionType *art)
|
||||
{
|
||||
PanelType *pt = MEM_callocN(sizeof(PanelType), __func__);
|
||||
strcpy(pt->idname, "NODE_PT_node_tree_interface_inputs");
|
||||
strcpy(pt->category, N_("Node"));
|
||||
strcpy(pt->category, N_("Group"));
|
||||
strcpy(pt->label, N_("Inputs"));
|
||||
strcpy(pt->translation_context, BLT_I18NCONTEXT_DEFAULT_BPYRNA);
|
||||
pt->draw = node_tree_interface_inputs_panel;
|
||||
@@ -208,7 +208,7 @@ void node_buttons_register(ARegionType *art)
|
||||
{
|
||||
PanelType *pt = MEM_callocN(sizeof(PanelType), __func__);
|
||||
strcpy(pt->idname, "NODE_PT_node_tree_interface_outputs");
|
||||
strcpy(pt->category, N_("Node"));
|
||||
strcpy(pt->category, N_("Group"));
|
||||
strcpy(pt->label, N_("Outputs"));
|
||||
strcpy(pt->translation_context, BLT_I18NCONTEXT_DEFAULT_BPYRNA);
|
||||
pt->draw = node_tree_interface_outputs_panel;
|
||||
|
||||
Reference in New Issue
Block a user