diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-09-30 10:32:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-09-30 10:32:46 +0300 |
commit | e9dac3eab839a44af93191dab0467c0fe3ec6d9c (patch) | |
tree | 1e0c62ba376ad62cfa9262c8e6cd11db67427f8a /source/blender | |
parent | fdcae48663e87ebc2ed0a97916dcdecb3bd03e61 (diff) |
Cleanup: reduce Sequence size by 8 bytes
Also use int8_t for color tag.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesdna/DNA_sequence_types.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h index 828702f9aa8..13bfa82b36d 100644 --- a/source/blender/makesdna/DNA_sequence_types.h +++ b/source/blender/makesdna/DNA_sequence_types.h @@ -233,18 +233,20 @@ typedef struct Sequence { float blend_opacity; /* Tag color showed if `SEQ_TIMELINE_SHOW_STRIP_COLOR_TAG` is set. */ - int16_t color_tag; - char _pad4[6]; + int8_t color_tag; + + char alpha_mode; + char _pad4[2]; + + int cache_flag; /* is sfra needed anymore? - it looks like its only used in one place */ /** Starting frame according to the timeline of the scene. */ int sfra; - char alpha_mode; - char _pad[2]; - /* Multiview */ char views_format; + char _pad[3]; struct Stereo3dFormat *stereo3d_format; struct IDProperty *prop; @@ -252,9 +254,6 @@ typedef struct Sequence { /* modifiers */ ListBase modifiers; - int cache_flag; - int _pad2[3]; - SequenceRuntime runtime; } Sequence; |