diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-12 13:27:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-12 13:27:39 +0400 |
commit | fbc61c96d6ba0a58a8e6b405c8cfe200622fc38c (patch) | |
tree | 99ebb0b0d9959c9ac879f697fb4af995990c931f /source | |
parent | d0570c3e39ff1de22506ab24c8fcee5787687397 (diff) |
fix for DNA alignment on 32 and 64bit systems.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h index d4b1f9a3c47..b64fc08a47a 100644 --- a/source/blender/makesdna/DNA_gpencil_types.h +++ b/source/blender/makesdna/DNA_gpencil_types.h @@ -50,8 +50,8 @@ typedef struct bGPDspoint { */ typedef struct bGPDstroke { struct bGPDstroke *next, *prev; - bGPDspoint *points; /* array of data-points for stroke */ + void *pad; /* keep 4 pointers at the beginning, padding for 'inittime' is tricky 64/32bit */ int totpoints; /* number of data-points in array */ short thickness; /* thickness of stroke (currently not used) */ |