diff options
Diffstat (limited to 'source/blender/makesdna/DNA_meta_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_meta_types.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_meta_types.h b/source/blender/makesdna/DNA_meta_types.h index 7ba66782cc0..f5bc9ef383a 100644 --- a/source/blender/makesdna/DNA_meta_types.h +++ b/source/blender/makesdna/DNA_meta_types.h @@ -41,7 +41,7 @@ typedef struct MetaElem { struct BoundBox *bb; short type, flag; - short pad[2]; + char _pad[4]; /** Position of center of MetaElem. */ float x, y, z; /** Rotation of MetaElem (MUST be kept normalized). */ @@ -81,7 +81,8 @@ typedef struct MetaBall { char flag, flag2; short totcol; /** Used to store MB_AUTOSPACE. */ - short texflag, pad; + short texflag; + char _pad[2]; /* texture space, copied as one block in editobject.c */ float loc[3]; |