added many checks to uvcopy so it dosnt raise errors.
[blender.git] / release / scripts / mesh_cleanup.py
index 63c28c611e3b7978f0ca97eae16c5f990749aa42..7abd64c255ea83ed799426b752b9aa0a351c70da 100644 (file)
@@ -48,7 +48,7 @@ meshWeight2Dict= BPyMesh.meshWeight2Dict
 def rem_free_verts(me):
        vert_users= [0] * len(me.verts)
        for f in me.faces:
-               for v in f.v:
+               for v in f:
                        vert_users[v.index]+=1
        
        for e in me.edges: