Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-03-18 05:28:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-18 05:30:16 +0300
commite1364b21facb52687d8200676452655636cf4a45 (patch)
tree1caaf8dc30867fdc24d76821d6c2899bf8e5faba
parent9099305771ecf0b9af381894302d57a67e2de9ad (diff)
Fix T62685: Rename 'Align' to 'Only Origins'
The RNA name didn't match the name used in the UI, making the quick favourites menu show this as 'Align'.
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py8
-rw-r--r--source/blender/makesrna/intern/rna_scene.c2
2 files changed, 3 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index d0e278aee7d..5e535b7c90c 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4166,7 +4166,7 @@ class VIEW3D_MT_pivot_pie(Menu):
pie.prop_enum(context.scene.tool_settings, "transform_pivot_point", value='MEDIAN_POINT')
pie.prop_enum(context.scene.tool_settings, "transform_pivot_point", value='ACTIVE_ELEMENT')
if (obj is None) or (mode in {'OBJECT', 'POSE', 'WEIGHT_PAINT'}):
- pie.prop(context.scene.tool_settings, "use_transform_pivot_point_align", text="Only Origins")
+ pie.prop(context.scene.tool_settings, "use_transform_pivot_point_align")
class VIEW3D_MT_orientations_pie(Menu):
@@ -5234,11 +5234,7 @@ class VIEW3D_PT_pivot_point(Panel):
if (obj is None) or (mode in {'OBJECT', 'POSE', 'WEIGHT_PAINT'}):
col.separator()
- col.prop(
- tool_settings,
- "use_transform_pivot_point_align",
- text="Only Origins",
- )
+ col.prop(tool_settings, "use_transform_pivot_point_align")
class VIEW3D_PT_snapping(Panel):
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 725f9ed1a5f..080b29fa7a9 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2622,7 +2622,7 @@ static void rna_def_tool_settings(BlenderRNA *brna)
prop = RNA_def_property(srna, "use_transform_pivot_point_align", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "transform_flag", SCE_XFORM_AXIS_ALIGN);
- RNA_def_property_ui_text(prop, "Align", "Manipulate center points (object, pose and weight paint mode only)");
+ RNA_def_property_ui_text(prop, "Only Origins", "Manipulate center points (object, pose and weight paint mode only)");
RNA_def_property_ui_icon(prop, ICON_CENTER_ONLY, 0);
RNA_def_property_update(prop, NC_SCENE, NULL);