[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43621] branches/bmesh/blender/source/ blender/editors/mesh/bmeshutils.c: dissable double re-tesselation when entering editmode.

Campbell Barton ideasman42 at gmail.com
Sun Jan 22 23:20:32 CET 2012


Revision: 43621
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43621
Author:   campbellbarton
Date:     2012-01-22 22:20:20 +0000 (Sun, 22 Jan 2012)
Log Message:
-----------
dissable double re-tesselation when entering editmode.

Modified Paths:
--------------
    branches/bmesh/blender/source/blender/editors/mesh/bmeshutils.c

Modified: branches/bmesh/blender/source/blender/editors/mesh/bmeshutils.c
===================================================================
--- branches/bmesh/blender/source/blender/editors/mesh/bmeshutils.c	2012-01-22 22:06:12 UTC (rev 43620)
+++ branches/bmesh/blender/source/blender/editors/mesh/bmeshutils.c	2012-01-22 22:20:20 UTC (rev 43621)
@@ -310,7 +310,14 @@
 		MEM_freeN(me->edit_btmesh);
 	}
 
+	/* currently executing operators re-tesselates, so we can avoid doing here
+	 * but at some point it may need to be added back. */
+#if 0
 	me->edit_btmesh = BMEdit_Create(bm, TRUE);
+#else
+	me->edit_btmesh = BMEdit_Create(bm, FALSE);
+#endif
+
 	me->edit_btmesh->selectmode= me->edit_btmesh->bm->selectmode= ts->selectmode;
 	me->edit_btmesh->me = me;
 	me->edit_btmesh->ob = ob;



More information about the Bf-blender-cvs mailing list