Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-05-03 19:14:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-05-03 19:15:50 +0300
commit2564d929fc5f75403bc5ca051fb33bc7b8874646 (patch)
tree9c1e7077306e96f8f991ffab331ad9a38fefaf37 /source/blender/makesdna/DNA_action_types.h
parent673e6fc535793ddb4858231d19ebc35c6a7b4d7c (diff)
Correct over-alloc struct declaration
Diffstat (limited to 'source/blender/makesdna/DNA_action_types.h')
-rw-r--r--source/blender/makesdna/DNA_action_types.h4
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;
/* ************************************************ */