Commit: 3b0531154e0d8cce16038fbe8b92e7cd05e3dc9f Author: Jacques Lucke Date: Thu Mar 25 09:16:03 2021 +0100 Branches: master https://developer.blender.org/rB3b0531154e0d8cce16038fbe8b92e7cd05e3dc9f
UI: rename node editor sidebar categories * `Node` -> `Group` * `Item` -> `Node` Differential Revision: https://developer.blender.org/D10804 =================================================================== M release/scripts/startup/bl_ui/space_node.py M source/blender/editors/space_node/node_buttons.c =================================================================== diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py index a85dd70e8f4..d8cfa9dcc82 100644 --- a/release/scripts/startup/bl_ui/space_node.py +++ b/release/scripts/startup/bl_ui/space_node.py @@ -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'} diff --git a/source/blender/editors/space_node/node_buttons.c b/source/blender/editors/space_node/node_buttons.c index fa4d6997c83..eb89658857b 100644 --- a/source/blender/editors/space_node/node_buttons.c +++ b/source/blender/editors/space_node/node_buttons.c @@ -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; _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
