diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-08-12 05:38:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-08-12 05:38:12 +0400 |
commit | 0d5f195ba772b4796cf6d002a19a9107c8fd726b (patch) | |
tree | 20819fa825e58e96617d8ef7ecf4d3f4482a9032 /release/scripts/bpymodules | |
parent | 35c2498a4063d31a38fad8873184d7e12672dfe2 (diff) |
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
Diffstat (limited to 'release/scripts/bpymodules')
-rw-r--r-- | release/scripts/bpymodules/BPyMesh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/bpymodules/BPyMesh.py b/release/scripts/bpymodules/BPyMesh.py index 70fc1a87a52..415c2a12c69 100644 --- a/release/scripts/bpymodules/BPyMesh.py +++ b/release/scripts/bpymodules/BPyMesh.py @@ -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))] |