[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40856] branches/bmesh/blender/source/ blender/bmesh/operators/removedoubles.c: Fix for 28687 ( double faces not removed by remove doubles)

Andrew Wiggin ender79bl at gmail.com
Sat Oct 8 16:29:13 CEST 2011


Revision: 40856
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40856
Author:   ender79
Date:     2011-10-08 14:29:13 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
Fix for 28687 (double faces not removed by remove doubles)

Modified Paths:
--------------
    branches/bmesh/blender/source/blender/bmesh/operators/removedoubles.c

Modified: branches/bmesh/blender/source/blender/bmesh/operators/removedoubles.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/removedoubles.c	2011-10-08 12:27:52 UTC (rev 40855)
+++ branches/bmesh/blender/source/blender/bmesh/operators/removedoubles.c	2011-10-08 14:29:13 UTC (rev 40856)
@@ -182,8 +182,8 @@
 		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;




More information about the Bf-blender-cvs mailing list