[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43090] trunk/blender/source/blender/ editors/object/object_vgroup.c: error in recent commit - disallow selecting hidden verts.

Campbell Barton ideasman42 at gmail.com
Tue Jan 3 03:45:10 CET 2012


Revision: 43090
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43090
Author:   campbellbarton
Date:     2012-01-03 02:45:03 +0000 (Tue, 03 Jan 2012)
Log Message:
-----------
error in recent commit - disallow selecting hidden verts.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/object/object_vgroup.c

Modified: trunk/blender/source/blender/editors/object/object_vgroup.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_vgroup.c	2012-01-03 02:38:48 UTC (rev 43089)
+++ trunk/blender/source/blender/editors/object/object_vgroup.c	2012-01-03 02:45:03 UTC (rev 43090)
@@ -613,9 +613,11 @@
 				dv = me->dvert;
 
 				for (i=0; i<me->totvert; i++, mv++, dv++) {
-					if (defvert_find_index(dv, def_nr)) {
-						if (select)  mv->flag |=  SELECT;
-						else         mv->flag &= ~SELECT;
+					if (!(mv->flag & ME_HIDE)) {
+						if (defvert_find_index(dv, def_nr)) {
+							if (select)  mv->flag |=  SELECT;
+							else         mv->flag &= ~SELECT;
+						}
 					}
 				}
 



More information about the Bf-blender-cvs mailing list