diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-24 05:45:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-24 05:45:17 +0300 |
commit | e77c65f73ce2ef329d84311795225585ba6c06db (patch) | |
tree | c7195a56a45c93375cf20698fb37b113def103ae /source/blender/makesdna/DNA_userdef_types.h | |
parent | bd4ed5ca9ae2a7b0f6a00cc0c985404ab13cc5d6 (diff) |
Cleanup: group navigation gizmo size with generic gizmo size
Also use `char` for these gizmo size & flag.
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 114af653e4b..790f3423eef 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -762,8 +762,12 @@ typedef struct UserDef { char _pad13[4]; struct SolidLight light_param[4]; float light_ambient[3]; - char _pad3[4]; - short gizmo_flag, gizmo_size; + char gizmo_flag; + /** Generic gizmo size. */ + char gizmo_size; + /** Navigate gizmo size. */ + char gizmo_size_navigate_v3d; + char _pad3[5]; short edit_studio_light; short lookdev_sphere_size; short vbotimeout, vbocollectrate; @@ -773,9 +777,7 @@ typedef struct UserDef { int prefetchframes; /** Control the rotation step of the view when PAD2, PAD4, PAD6&PAD8 is use. */ float pad_rot_angle; - /** Navigate gizmo size. */ - char gizmo_size_navigate_v3d; - char _pad12[3]; + char _pad12[4]; /** Rotating view icon size. */ short rvisize; /** Rotating view icon brightness. */ |