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>2013-05-24 01:14:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-24 01:14:17 +0400
commitab2cfd87e0b092dbf2e6ba8e1f735489cd2f38d1 (patch)
tree08f872ec5a7c6279a208482a7eddaf40954b155e /source/blender/makesdna/DNA_view3d_types.h
parent326c90d41a9ce2cd7f801ad5124ba812d8e9c24e (diff)
remove v3d.modeselect, reduce size of other vars in v3d.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index e961ab67fc9..b2aebd24c1e 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -162,10 +162,9 @@ typedef struct View3D {
float dist DNA_DEPRECATED;
float bundle_size; /* size of bundles in reconstructed data */
- short bundle_drawtype; /* display style for bundle */
- short pad;
- int matcap_icon; /* icon id */
-
+ char bundle_drawtype; /* display style for bundle */
+ char pad[7];
+
unsigned int lay_used; /* used while drawing */
short persp DNA_DEPRECATED;
@@ -197,7 +196,8 @@ typedef struct View3D {
float ofs[3] DNA_DEPRECATED; /* XXX deprecated */
float cursor[3];
- short modeselect;
+ short matcap_icon; /* icon id */
+
short gridlines;
short gridsubdiv; /* Number of subdivisions in the grid between each highlighted grid line */
char gridflag;
@@ -211,8 +211,8 @@ typedef struct View3D {
struct ListBase afterdraw_xraytransp;
/* drawflags, denoting state */
- short zbuf, transp, xray;
- char pad3[2];
+ char zbuf, transp, xray;
+ char pad3[5];
void *properties_storage; /* Nkey panel stores stuff here (runtime only!) */
struct Material *defmaterial; /* used by matcap now */