Correct error in recent commit

This commit is contained in:
Campbell Barton 2016-06-16 22:11:36 +10:00
parent 046adde64f
commit 3f744a16c4
1 changed files with 2 additions and 0 deletions

View File

@ -632,6 +632,8 @@ static void bm_decim_triangulate_end(BMesh *bm, const int edges_tri_tot)
BMEdge **edges_tri = MEM_mallocN(MIN2(edges_tri_tot, bm->totedge) * sizeof(*edges_tri), __func__);
STACK_DECLARE(edges_tri);
STACK_INIT(edges_tri, MIN2(edges_tri_tot, bm->totedge));
/* boundary edges */
BM_ITER_MESH (e, &iter, bm, BM_EDGES_OF_MESH) {
BMLoop *l_a, *l_b;