fix for error in script
authorCampbell Barton <ideasman42@gmail.com>
Thu, 6 Sep 2012 06:53:59 +0000 (06:53 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 6 Sep 2012 06:53:59 +0000 (06:53 +0000)
mesh_select_vertex_groups.py

index 0d45627edd6e7253c770be4dd02fad743ea056cf..ad9f07984d8b6f696cb9cd34054c634639548346 100644 (file)
@@ -166,7 +166,7 @@ def found_verts(vertex_group):
     if vertex_group == 'no group':
         for v in obj.data.vertices:
             if v.index in used_vertexes and len(v.groups) == 0:
-                gfound.append(v)
+                vgfound.append(v)
     else:
         vgnum = -1
         for vg in obj.vertex_groups: