svn merge ^/trunk/blender -r43085:43092
[blender-staging.git] / source / blender / editors / object / object_vgroup.c
index 7a5fe38865b0803c4e306074fb04e947b2deebaf..c5afc740c24760127c0e76752a3beca63dc6329e 100644 (file)
@@ -616,9 +616,11 @@ static void vgroup_select_verts(Object *ob, int select)
                                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;
+                                               }
                                        }
                                }