Correct error in recent commit
This commit is contained in:
parent
046adde64f
commit
3f744a16c4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue