forked from bartvdbraak/blender
speedup for DM_to_bmesh_ex(), no need to check vertex order when converting faces since the loops are already in order, will speedup modifiers that use bmesh.
This commit is contained in:
parent
de6fe1294c
commit
91d4fb5d6c
@ -161,7 +161,7 @@ void DM_to_bmesh_ex(DerivedMesh *dm, BMesh *bm)
|
|||||||
edges[j] = etable[ml->e];
|
edges[j] = etable[ml->e];
|
||||||
}
|
}
|
||||||
|
|
||||||
f = BM_face_create_ngon(bm, verts[0], verts[1], edges, mp->totloop, BM_CREATE_SKIP_CD);
|
f = BM_face_create(bm, verts, edges, mp->totloop, BM_CREATE_SKIP_CD);
|
||||||
|
|
||||||
if (UNLIKELY(f == NULL)) {
|
if (UNLIKELY(f == NULL)) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user