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:
@@ -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))]
|
||||
|
||||
Reference in New Issue
Block a user