patch [#28488] BMesh: fix for extrude individual faces

by Andrew Wiggin (ender79)
This commit is contained in:
Campbell Barton
2011-09-06 03:21:55 +00:00
parent e74e245030
commit 6d4b46d96f

View File

@@ -58,7 +58,7 @@ void bmesh_extrude_face_indiv_exec(BMesh *bm, BMOperator *op)
BMO_SetFlag(bm, f, EXT_DEL);
f2 = BM_Make_Ngon(bm, lastv, firstv, edges, f->len, 0);
f2 = BM_Make_Ngon(bm, firstv, BM_OtherEdgeVert(edges[0], firstv), edges, f->len, 0);
if (!f2) {
BMO_RaiseError(bm, op, BMERR_MESH_ERROR, "Extrude failed; could not create face");
BLI_array_free(edges);