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-11-14 15:30:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-14 15:31:06 +0300
commit69a04c61402cf4e09927640d2588764bcfd2a357 (patch)
treecd9c5e1270b4a375265c8e66614ee57a410aa825 /source/blender/makesdna/DNA_view3d_types.h
parent69a9bcc2067bfc975ad3e9aa2e61eb7b76c2b187 (diff)
Cleanup: correct flag comparisons
Also use smaller types for shading data.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index 6796c9d4d00..d0880b0af9a 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -139,11 +139,11 @@ typedef struct View3DShading {
short prev_type; /* Runtime, for toggle between rendered viewport. */
short flag;
- short color_type;
+ char color_type;
+ char _pad0[7];
- short light;
- short background_type;
- short pad2[2];
+ char light;
+ char background_type;
char studio_light[256]; /* FILE_MAXFILE */
char matcap[256]; /* FILE_MAXFILE */