[Bf-blender-cvs] [0ab550d8e02] master: UI: rename transform options

Campbell Barton noreply at git.blender.org
Fri Sep 13 18:09:20 CEST 2019


Commit: 0ab550d8e0223621bad5a2bb2bccb4d4f0d1b0a6
Author: Campbell Barton
Date:   Sat Sep 14 01:59:24 2019 +1000
Branches: master
https://developer.blender.org/rB0ab550d8e0223621bad5a2bb2bccb4d4f0d1b0a6

UI: rename transform options

When added to quick-favourites, these names are used which
didn't make much sense out of the panel context.

===================================================================

M	source/blender/makesrna/intern/rna_scene.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index e63475c8458..1cf4a33c5c9 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2942,7 +2942,7 @@ static void rna_def_tool_settings(BlenderRNA *brna)
   prop = RNA_def_property(srna, "transform_pivot_point", PROP_ENUM, PROP_NONE);
   RNA_def_property_enum_sdna(prop, NULL, "transform_pivot_point");
   RNA_def_property_enum_items(prop, rna_enum_transform_pivot_items_full);
-  RNA_def_property_ui_text(prop, "Pivot Point", "Pivot center for rotation/scaling");
+  RNA_def_property_ui_text(prop, "Transform Pivot Point", "Pivot center for rotation/scaling");
   RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL);
 
   prop = RNA_def_property(srna, "use_transform_pivot_point_align", PROP_BOOLEAN, PROP_NONE);
@@ -2953,12 +2953,12 @@ static void rna_def_tool_settings(BlenderRNA *brna)
 
   prop = RNA_def_property(srna, "use_transform_data_origin", PROP_BOOLEAN, PROP_NONE);
   RNA_def_property_boolean_sdna(prop, NULL, "transform_flag", SCE_XFORM_DATA_ORIGIN);
-  RNA_def_property_ui_text(prop, "Data Origins", "Manipulate object data");
+  RNA_def_property_ui_text(prop, "Transform Origins", "Manipulate object data");
   RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
 
   prop = RNA_def_property(srna, "use_transform_skip_children", PROP_BOOLEAN, PROP_NONE);
   RNA_def_property_boolean_sdna(prop, NULL, "transform_flag", SCE_XFORM_SKIP_CHILDREN);
-  RNA_def_property_ui_text(prop, "Skip Children", "Don't transform children");
+  RNA_def_property_ui_text(prop, "Transform Parents", "Don't transform children");
   RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
 
   prop = RNA_def_property(srna, "use_mesh_automerge", PROP_BOOLEAN, PROP_NONE);



More information about the Bf-blender-cvs mailing list