diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-05-03 19:14:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-05-03 19:15:50 +0300 |
commit | 2564d929fc5f75403bc5ca051fb33bc7b8874646 (patch) | |
tree | 9c1e7077306e96f8f991ffab331ad9a38fefaf37 /source/blender/makesdna | |
parent | 673e6fc535793ddb4858231d19ebc35c6a7b4d7c (diff) |
Correct over-alloc struct declaration
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_action_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index 87749c3b768..90d6bbb4f1e 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -180,6 +180,7 @@ typedef enum eMotionPaths_BakeFlag { MOTIONPATH_BAKE_HAS_PATHS = (1 << 2) } eMotionPath_BakeFlag; +/* runtime */ # # typedef struct bPoseChannelDrawData { @@ -187,7 +188,8 @@ typedef struct bPoseChannelDrawData { float wire_color[4]; int bbone_matrix_len; - float bbone_matrix[32][4][4]; + /* keep last */ + float bbone_matrix[0][4][4]; } bPoseChannelDrawData; /* ************************************************ */ |