[Bf-blender-cvs] [a1f1377] master: BMesh: edge-net split, edge selection error

Campbell Barton noreply at git.blender.org
Wed Oct 26 05:09:48 CEST 2016


Commit: a1f137767fe7bf7213543a54e1e73e8cc5f29f07
Author: Campbell Barton
Date:   Wed Oct 26 14:15:00 2016 +1100
Branches: master
https://developer.blender.org/rBa1f137767fe7bf7213543a54e1e73e8cc5f29f07

BMesh: edge-net split, edge selection error

In practice I couldn't make this cause a bug,
however it's a logical regression in fix for T48716.

Thanks to Francesc Juhe for finding.

===================================================================

M	source/blender/bmesh/intern/bmesh_polygon_edgenet.c

===================================================================

diff --git a/source/blender/bmesh/intern/bmesh_polygon_edgenet.c b/source/blender/bmesh/intern/bmesh_polygon_edgenet.c
index 5ee0e90..6ce7c10 100644
--- a/source/blender/bmesh/intern/bmesh_polygon_edgenet.c
+++ b/source/blender/bmesh/intern/bmesh_polygon_edgenet.c
@@ -161,7 +161,7 @@ static bool bm_face_split_edgenet_find_loop_pair(
 			e_pair[1] = BLI_SMALLSTACK_POP(edges_boundary);
 
 			if (edges_boundary_len > 2) {
-				BLI_SMALLSTACK_SWAP(edges_search, edges_wire);
+				BLI_SMALLSTACK_SWAP(edges_search, edges_boundary);
 			}
 		}
 		else {




More information about the Bf-blender-cvs mailing list