diff --git a/source/blender/bmesh/intern/bmesh_construct.c b/source/blender/bmesh/intern/bmesh_construct.c index 2c5258a4f7a..9c2b026ab70 100644 --- a/source/blender/bmesh/intern/bmesh_construct.c +++ b/source/blender/bmesh/intern/bmesh_construct.c @@ -575,6 +575,8 @@ BMesh *BM_Copy_Mesh(BMesh *bmold) f2 = BM_Make_Ngon(bm, v, v2, edges, f->len, 0); if (!f2) continue; + /* use totface incase adding some faces fails */ + BM_SetIndex(f2, (bm->totface-1)); /* set_inline */ ftable[i] = f2;