Fix for 28687 (double faces not removed by remove doubles)

This commit is contained in:
Andrew Wiggin
2011-10-08 14:29:13 +00:00
parent 8695bedda2
commit 1c41f24624

View File

@@ -182,8 +182,8 @@ void bmesh_weldverts_exec(BMesh *bm, BMOperator *op)
if (BMO_TestFlag(bm, v2, ELE_DEL))
v2 = BMO_Get_MapPointer(bm, op, "targetmap", v2);
f2 = BM_Make_Ngon(bm, v, v2, edges, a, 0);
if (f2) {
f2 = BM_Make_Ngon(bm, v, v2, edges, a, 1);
if (f2 != f) {
BM_Copy_Attributes(bm, bm, f, f2);
a = 0;