remove doubles was flipping face normals
authorJoseph Eagar <joeedh@gmail.com>
Mon, 9 Nov 2009 23:08:44 +0000 (23:08 +0000)
committerJoseph Eagar <joeedh@gmail.com>
Mon, 9 Nov 2009 23:08:44 +0000 (23:08 +0000)
source/blender/bmesh/operators/removedoubles.c

index e91c71a498cd656b675932a102f7ea2952ad70fc..b12e01774cfde8791cecbd65b337d57ff9be1c66 100644 (file)
@@ -178,7 +178,7 @@ 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);
+               f2 = BM_Make_Ngon(bm, v2, v, edges, a, 0);
                if (f2) {
                        BM_Copy_Attributes(bm, bm, f, f2);