[Bf-blender-cvs] [9a535991800] master: Geometry Nodes: rename used attributes panel
Jacques Lucke
noreply at git.blender.org
Tue Apr 26 16:58:57 CEST 2022
Commit: 9a53599180041cf9501e2ac6150c9f900a3a3fc0
Author: Jacques Lucke
Date: Tue Apr 26 16:58:53 2022 +0200
Branches: master
https://developer.blender.org/rB9a53599180041cf9501e2ac6150c9f900a3a3fc0
Geometry Nodes: rename used attributes panel
The new name is `Internal Dependencies`.
* Is more inline with the general goal of the panel.
* Can also show which external objects are used in the node tree in the future.
This name was choosen in the geometry nodes submodule meeting (2022-04-25).
Differential Revision: https://developer.blender.org/D14752
===================================================================
M source/blender/modifiers/intern/MOD_nodes.cc
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc
index ab33c27e213..3867abbd29c 100644
--- a/source/blender/modifiers/intern/MOD_nodes.cc
+++ b/source/blender/modifiers/intern/MOD_nodes.cc
@@ -1624,7 +1624,7 @@ static void output_attribute_panel_draw(const bContext *C, Panel *panel)
}
}
-static void used_attributes_panel_draw(const bContext *UNUSED(C), Panel *panel)
+static void internal_dependencies_panel_draw(const bContext *UNUSED(C), Panel *panel)
{
uiLayout *layout = panel->layout;
@@ -1708,10 +1708,10 @@ static void panelRegister(ARegionType *region_type)
output_attribute_panel_draw,
panel_type);
modifier_subpanel_register(region_type,
- "used_attributes",
- N_("Used Attributes"),
+ "internal_dependencies",
+ N_("Internal Dependencies"),
nullptr,
- used_attributes_panel_draw,
+ internal_dependencies_panel_draw,
panel_type);
}
More information about the Bf-blender-cvs
mailing list