diff options
author | Matt Ebb <matt@mke3.net> | 2004-01-24 08:06:12 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2004-01-24 08:06:12 +0300 |
commit | b0479d893f4228287eb40936c43696bbd5cb431a (patch) | |
tree | d66f39373eff404c2d2a76097b723b6ceb90aa3a /source/blender/makesdna/DNA_view3d_types.h | |
parent | 9c6662e4e09d4b41bdbad6c7dbff8e66a3ad6ae8 (diff) |
* Preferences for displaying the grid floor, X axis, Y axis,
Z axis. (ported from tuhopuu2)
Controls are found in the 3D View Properties panel (with
the rest of the grid settings). This is more flexible for
people like me who hate the grid getting in the way when
modelling - turning off the grid floor and turning on the Z
axis gives a setup like in Wings 3D or Clay.
* Cleaned up the 3D View Properties and Background Image panel's layout while I was adding the new buttons (including change over to UiDefButBit).
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 2acfdac7103..ac867c315b1 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -104,7 +104,8 @@ typedef struct View3D { short mxo, myo; short gridlines, viewbut; - short modeselect, menunr, texnr, pad1; + short gridflag; + short modeselect, menunr, texnr; } View3D; /* View3D->flag */ @@ -131,5 +132,11 @@ typedef struct View3D { #define V3D_PERSP_DO_3D_PERSP 1 #define V3D_PERSP_USE_THE_CAMERA 2 +/* View3d->gridflag */ +#define V3D_SHOW_FLOOR 1 +#define V3D_SHOW_X 2 +#define V3D_SHOW_Y 4 +#define V3D_SHOW_Z 8 + #endif |