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>2021-01-24 05:45:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-24 05:45:17 +0300
commite77c65f73ce2ef329d84311795225585ba6c06db (patch)
treec7195a56a45c93375cf20698fb37b113def103ae /source/blender/makesrna
parentbd4ed5ca9ae2a7b0f6a00cc0c985404ab13cc5d6 (diff)
Cleanup: group navigation gizmo size with generic gizmo size
Also use `char` for these gizmo size & flag.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 588d7080622..445ff773868 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -4720,11 +4720,6 @@ static void rna_def_userdef_view(BlenderRNA *brna)
"Show a small rotating 3D axes in the top right corner of the 3D View");
RNA_def_property_update(prop, 0, "rna_userdef_gizmo_update");
- prop = RNA_def_property(srna, "gizmo_size_navigate_v3d", PROP_INT, PROP_PIXEL);
- RNA_def_property_range(prop, 30, 200);
- RNA_def_property_ui_text(prop, "Navigate Gizmo Size", "The Navigate Gizmo size");
- RNA_def_property_update(prop, 0, "rna_userdef_gizmo_update");
-
prop = RNA_def_property(srna, "mini_axis_size", PROP_INT, PROP_PIXEL);
RNA_def_property_int_sdna(prop, NULL, "rvisize");
RNA_def_property_range(prop, 10, 64);
@@ -4761,6 +4756,11 @@ static void rna_def_userdef_view(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Gizmo Size", "Diameter of the gizmo");
RNA_def_property_update(prop, 0, "rna_userdef_update");
+ prop = RNA_def_property(srna, "gizmo_size_navigate_v3d", PROP_INT, PROP_PIXEL);
+ RNA_def_property_range(prop, 30, 200);
+ RNA_def_property_ui_text(prop, "Navigate Gizmo Size", "The Navigate Gizmo size");
+ RNA_def_property_update(prop, 0, "rna_userdef_gizmo_update");
+
/* Lookdev */
prop = RNA_def_property(srna, "lookdev_sphere_size", PROP_INT, PROP_PIXEL);
RNA_def_property_int_sdna(prop, NULL, "lookdev_sphere_size");