diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-05 13:37:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-05 13:37:59 +0300 |
commit | 2610881e9c6d15c403c3b923650569fb87258264 (patch) | |
tree | 74880bf0266dd2c3aa590a517701e282b33be46b /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | c7fccc84bf59bed95bdf13207c40f7a1d1711d24 (diff) |
sculpt undo struct was using an array of char pointers rather then a char array.
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 2a73d95cda4..e8073b259d4 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -104,7 +104,7 @@ typedef struct SculptUndoNode { float *layer_disp; /* shape keys */ - char *shapeName[32]; /* keep size in sync with keyblock dna */ + char shapeName[sizeof(((KeyBlock *)0))->name]; } SculptUndoNode; SculptUndoNode *sculpt_undo_push_node(SculptSession *ss, PBVHNode *node); |