diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-13 11:12:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-13 11:14:36 +0300 |
commit | b271cbfcb062498532a2bde5ab9fbac03be8f1cd (patch) | |
tree | da258d0918db575c67478481dcdb9ef4733a2015 /source/blender/makesdna/DNA_view3d_types.h | |
parent | 2424bb3d5ef38702bb738431ab05bd4575374e96 (diff) |
Cleanup: unused DNA struct members
- Timeline theme.
- 3D view runtime variables.
- Exclude EditLatt from SDNA.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index f8d207cbe34..633a9dd07b5 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -243,12 +243,10 @@ typedef struct View3D { float bundle_size; /** Display style for bundle. */ char bundle_drawtype; - char pad[3]; + char _pad3[2]; - /** For active layer toggle. */ - unsigned int lay_prev DNA_DEPRECATED; - /** Used while drawing. */ - unsigned int lay_used DNA_DEPRECATED; + /** Multiview current eye - for internal use. */ + char multiview_eye; int object_type_exclude_viewport; int object_type_exclude_select; @@ -290,17 +288,8 @@ typedef struct View3D { short gridsubdiv; char gridflag; - /* transform gizmo info */ - char _pad5[2], gizmo_flag; - - short _pad2; - - /* drawflags, denoting state */ - char _pad3; - char transp, xray; - - /** Multiview current eye - for internal use. */ - char multiview_eye; + /** Transform gizmo info. */ + char gizmo_flag; /* actually only used to define the opacity of the grease pencil vertex in edit mode */ float vertex_opacity; |