left a print in and didnt account for no vgroups BPyMesh also had an error when meshWeight2List was called on a mesh with no vgroups

This commit is contained in:
2007-08-12 01:38:12 +00:00
parent 35c2498a40
commit 0d5f195ba7
2 changed files with 4 additions and 5 deletions

View File

@@ -56,7 +56,7 @@ def meshWeight2List(me):
if not len_groupNames:
# no verts? return a vert aligned empty list
return [[] for i in xrange(len(me.verts))]
return [[] for i in xrange(len(me.verts))], []
else:
vWeightList= [[0.0]*len_groupNames for i in xrange(len(me.verts))]