[Bf-blender-cvs] [d3ec3fd] master: Fix Snap to Symmetry failing to select the vertex from the right side

Campbell Barton noreply at git.blender.org
Sat Mar 1 05:41:28 CET 2014


Commit: d3ec3fd9689d089eb65c832e7f10fc55b6ec1918
Author: Campbell Barton
Date:   Sat Mar 1 15:40:20 2014 +1100
https://developer.blender.org/rBd3ec3fd9689d089eb65c832e7f10fc55b6ec1918

Fix Snap to Symmetry failing to select the vertex from the right side

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

M	source/blender/editors/mesh/editmesh_tools.c

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

diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index d67728e..19480f7 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -4930,7 +4930,7 @@ static int mesh_symmetry_snap_exec(bContext *C, wmOperator *op)
 				if (v != v_mirr) {
 					float co[3], co_mirr[3];
 
-					if ((v->co[axis] > v->co[axis]) == axis_sign) {
+					if ((v->co[axis] > v_mirr->co[axis]) == axis_sign) {
 						SWAP(BMVert *, v, v_mirr);
 					}




More information about the Bf-blender-cvs mailing list