diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-29 00:08:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-29 00:08:41 +0400 |
commit | 683743b36092373582b0d3808d8ffdc82c67990a (patch) | |
tree | c8f539f4db2df3ab5c45f0b287ae4404b404c395 /source/blender/modifiers/intern/MOD_laplaciandeform.c | |
parent | f32079d4b9f0ee565dc4bb63a4ef25286f183d0e (diff) |
Correction to last commit
Diffstat (limited to 'source/blender/modifiers/intern/MOD_laplaciandeform.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_laplaciandeform.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_laplaciandeform.c b/source/blender/modifiers/intern/MOD_laplaciandeform.c index f613d6063fe..ffadcda3e8c 100644 --- a/source/blender/modifiers/intern/MOD_laplaciandeform.c +++ b/source/blender/modifiers/intern/MOD_laplaciandeform.c @@ -604,7 +604,8 @@ static void initSystem(LaplacianDeformModifierData *lmd, Object *ob, DerivedMesh int *index_anchors = MEM_mallocN(sizeof(int) * numVerts, __func__); /* over-alloc */ MFace *tessface; STACK_DECLARE(index_anchors); - STACK_INIT(index_anchors); + + STACK_INIT(index_anchors, numVerts); modifier_get_vgroup(ob, dm, lmd->anchor_grp_name, &dvert, &defgrp_index); BLI_assert(dvert != NULL); |