[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36398] branches/bmesh/blender/source/ blender/editors/mesh/loopcut.c: =bmesh= fixed edge loop preview, patch from Francisco De La Cruz.

Joseph Eagar joeedh at gmail.com
Sun May 1 02:23:09 CEST 2011


Revision: 36398
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36398
Author:   joeedh
Date:     2011-05-01 00:23:08 +0000 (Sun, 01 May 2011)
Log Message:
-----------
=bmesh= fixed edge loop preview, patch from Francisco De La Cruz.  man did I hate writing this code, thanks Francisco for fixing this bug :)

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

Modified: branches/bmesh/blender/source/blender/editors/mesh/loopcut.c
===================================================================
--- branches/bmesh/blender/source/blender/editors/mesh/loopcut.c	2011-04-30 18:47:06 UTC (rev 36397)
+++ branches/bmesh/blender/source/blender/editors/mesh/loopcut.c	2011-05-01 00:23:08 UTC (rev 36398)
@@ -249,8 +249,11 @@
 	}
 	
 	if (BM_Edge_Share_Faces(lasteed, startedge)) {
+		v[1][0] = v[0][0];
+		v[1][1] = v[0][1];
+
 		edgering_find_order(em, lasteed, startedge, lastv1, v);
-
+		
 		for(i=1;i<=previewlines;i++){
 			if (!v[0][0] || !v[0][1] || !v[1][0] || !v[1][1])
 				continue;




More information about the Bf-blender-cvs mailing list