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-07-11 11:38:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-11 11:49:18 +0300
commitc17611af951e46fb82bf43d7449240f2f829b78f (patch)
tree51992764ea21b663b68c6aabb11fea843d115474 /source/blender/makesdna/DNA_view3d_types.h
parent64d40c82c324f7029e27ff59a4b1ca3200cddbef (diff)
Manipulator: changes for overlay options
There are now 3 categories in the overlay popover: - Navigation - Active (camera, lamp... etc) - Tool (manipulator) The user preference for mini axis now controls if the mini axis displays minimal or a full-interactive widget. Part of design: T55863
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index b21d6814289..b02661754bd 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -237,7 +237,7 @@ typedef struct View3D {
char gridflag;
/* transform manipulator info */
- char twtype, _pad5, twflag;
+ char _pad5[2], mpr_flag;
short flag3;
@@ -450,9 +450,13 @@ enum {
#define V3D_MANIP_CURSOR 5
#define V3D_MANIP_CUSTOM 1024
-/* View3d->twflag (also) */
+/* View3d.mpr_flag (also) */
enum {
- V3D_MANIPULATOR_DRAW = (1 << 0),
+ /** All manipulators. */
+ V3D_MANIPULATOR_HIDE = (1 << 0),
+ V3D_MANIPULATOR_HIDE_NAVIGATE = (1 << 1),
+ V3D_MANIPULATOR_HIDE_CONTEXT = (1 << 2),
+ V3D_MANIPULATOR_HIDE_TOOL = (1 << 3),
};
#define RV3D_CAMZOOM_MIN -30