[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45533] trunk/blender/source/blender/ editors/uvedit/uvedit_ops.c: Fix #30895: uv editor snap selected to adjacent unselected not working correctly,

Brecht Van Lommel brechtvanlommel at pandora.be
Wed Apr 11 10:37:40 CEST 2012


Revision: 45533
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45533
Author:   blendix
Date:     2012-04-11 08:37:38 +0000 (Wed, 11 Apr 2012)
Log Message:
-----------
Fix #30895: uv editor snap selected to adjacent unselected not working correctly,
was apply to unselected uvs too.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/uvedit/uvedit_ops.c

Modified: trunk/blender/source/blender/editors/uvedit/uvedit_ops.c
===================================================================
--- trunk/blender/source/blender/editors/uvedit/uvedit_ops.c	2012-04-11 08:27:07 UTC (rev 45532)
+++ trunk/blender/source/blender/editors/uvedit/uvedit_ops.c	2012-04-11 08:37:38 UTC (rev 45533)
@@ -2762,7 +2762,7 @@
 	BM_ITER(f, &iter, bm, BM_FACES_OF_MESH, NULL) {
 		if (BM_elem_flag_test(f, BM_ELEM_TAG)) {           /* face: visible */
 			BM_ITER(l, &liter, bm, BM_LOOPS_OF_FACE, f) {
-				if (BM_elem_flag_test(f, BM_ELEM_TAG)) {   /* loop: selected*/
+				if (BM_elem_flag_test(l, BM_ELEM_TAG)) {   /* loop: selected*/
 					float uv[2] = {0.0f, 0.0f};
 					int uv_tot = 0;
 




More information about the Bf-blender-cvs mailing list