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>2018-12-19 14:36:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-19 14:45:36 +0300
commit2af0ec9457b2997e1e903f284dd48bae6534682b (patch)
tree863b1befb6caecc590187ed8ed855e895ae819a4 /source/blender/makesrna/intern/rna_scene.c
parent25fcb44d2db2837b611aefb43207fc011b68a34a (diff)
UI: move gizmo orientation settings into popover
Instead of link toggle with enum, use a single popover that contains both settings. The code for this isn't nice - needing 3x panels for now. See D4075
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r--source/blender/makesrna/intern/rna_scene.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 3a8cfbff3a1..8a3c328f131 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2237,9 +2237,9 @@ static void rna_def_transform_orientation_slot(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Current Transform Orientation", "");
/* flag */
- prop = RNA_def_property(srna, "use", PROP_BOOLEAN, PROP_NONE);
+ prop = RNA_def_property(srna, "use_global", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SELECT);
- RNA_def_property_ui_text(prop, "Use", "Disable to unlink the orientation from the scene-setting");
+ RNA_def_property_ui_text(prop, "Use", "Use scene orientation instead of a custom setting");
RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL);
FunctionRNA *func;