Correct over-alloc struct declaration

This commit is contained in:
Campbell Barton
2017-05-04 02:14:51 +10:00
parent 673e6fc535
commit 2564d929fc

View File

@@ -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;
/* ************************************************ */