diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-12 07:06:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-12 07:06:29 +0300 |
commit | a60727080f136bbbc3628bcd54d4d78fc95b6a4e (patch) | |
tree | 8386f890e47488b22445dac8a9d4772b70d285d9 /source/blender/modifiers/intern/MOD_laplaciandeform.c | |
parent | 9567529b8f854449e10d59f793f0a225b9a4c495 (diff) | |
parent | ccb8e78d6cf44de53e7a49386d2b95636c593894 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/modifiers/intern/MOD_laplaciandeform.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_laplaciandeform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_laplaciandeform.c b/source/blender/modifiers/intern/MOD_laplaciandeform.c index 47ce14efc1f..7626ea4af81 100644 --- a/source/blender/modifiers/intern/MOD_laplaciandeform.c +++ b/source/blender/modifiers/intern/MOD_laplaciandeform.c @@ -539,7 +539,7 @@ static void initSystem(LaplacianDeformModifierData *lmd, Object *ob, DerivedMesh STACK_PUSH(index_anchors, i); } } - DM_ensure_looptri(dm); + total_anchors = STACK_SIZE(index_anchors); lmd->cache_system = initLaplacianSystem(numVerts, dm->getNumEdges(dm), dm->getNumLoopTri(dm), total_anchors, lmd->anchor_grp_name, lmd->repeat); |