Cleanup: unused DNA struct members
- Timeline theme. - 3D view runtime variables. - Exclude EditLatt from SDNA.
This commit is contained in:
@@ -742,11 +742,6 @@ const bTheme U_theme_default = {
|
||||
.match = RGBA(0x337f334c),
|
||||
.selected_highlight = RGBA(0x314e784c),
|
||||
},
|
||||
.ttime = {
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
},
|
||||
.tnode = {
|
||||
.back = RGBA(0x23232300),
|
||||
.title = RGBA(0xeeeeeeff),
|
||||
|
||||
@@ -32,12 +32,12 @@ struct Ipo;
|
||||
struct Key;
|
||||
struct MDeformVert;
|
||||
|
||||
#
|
||||
#
|
||||
typedef struct EditLatt {
|
||||
struct Lattice *latt;
|
||||
|
||||
int shapenr;
|
||||
|
||||
char pad[4];
|
||||
} EditLatt;
|
||||
|
||||
typedef struct Lattice {
|
||||
|
||||
@@ -134,9 +134,8 @@ typedef struct SpaceButs {
|
||||
short mainb, mainbo, mainbuser;
|
||||
/** Preview is signal to refresh. */
|
||||
short preview;
|
||||
short pad[2];
|
||||
char _pad[5];
|
||||
char flag;
|
||||
char collection_context;
|
||||
|
||||
/** Runtime. */
|
||||
void *path;
|
||||
|
||||
@@ -434,7 +434,6 @@ typedef struct bTheme {
|
||||
ThemeSpace tima;
|
||||
ThemeSpace text;
|
||||
ThemeSpace toops;
|
||||
ThemeSpace ttime;
|
||||
ThemeSpace tnode;
|
||||
ThemeSpace tuserpref;
|
||||
ThemeSpace tconsole;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user