[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36586] branches/bmesh/blender/source/ blender/editors/uvedit/uvedit_ops.c: =bmesh= fixed unlink uv selection bug

Joseph Eagar joeedh at gmail.com
Tue May 10 00:07:31 CEST 2011


Revision: 36586
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36586
Author:   joeedh
Date:     2011-05-09 22:07:31 +0000 (Mon, 09 May 2011)
Log Message:
-----------
=bmesh= fixed unlink uv selection bug

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

Modified: branches/bmesh/blender/source/blender/editors/uvedit/uvedit_ops.c
===================================================================
--- branches/bmesh/blender/source/blender/editors/uvedit/uvedit_ops.c	2011-05-09 22:05:07 UTC (rev 36585)
+++ branches/bmesh/blender/source/blender/editors/uvedit/uvedit_ops.c	2011-05-09 22:07:31 UTC (rev 36586)
@@ -2157,7 +2157,7 @@
 			continue;
 
 		BM_ITER(l, &liter, em->bm, BM_LOOPS_OF_FACE, efa) {
-			luv = CustomData_bmesh_get(&em->bm->pdata, l->head.data, CD_MLOOPUV);
+			luv = CustomData_bmesh_get(&em->bm->ldata, l->head.data, CD_MLOOPUV);
 			
 			if (!(luv->flag & MLOOPUV_VERTSEL)) {
 				desel = 1;
@@ -2167,7 +2167,7 @@
 
 		if (desel) {
 			BM_ITER(l, &liter, em->bm, BM_LOOPS_OF_FACE, efa) {
-				luv = CustomData_bmesh_get(&em->bm->pdata, l->head.data, CD_MLOOPUV);
+				luv = CustomData_bmesh_get(&em->bm->ldata, l->head.data, CD_MLOOPUV);
 				luv->flag &= ~MLOOPUV_VERTSEL;
 			}
 		}




More information about the Bf-blender-cvs mailing list