diff options
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); |