Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-09-20 15:25:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-20 15:25:38 +0400
commit725f477722a2ab2cb0cbcf29e209b5eabb321675 (patch)
tree229ca143ee28ad27c692d05d1008c9a0e76cc72b /io_import_scene_mhx.py
parente73b41d7f6611f2783273fee4270e16e8520ec26 (diff)
own changes broke scripts recently
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r--io_import_scene_mhx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index 92e2e817..5c6c7f82 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -1267,7 +1267,7 @@ def parseVertexGroup(ob, me, args, tokens):
group = ob.vertex_groups.new(grpName)
group.name = grpName
loadedData['VertexGroup'][grpName] = group
- ob.vertex_groups.assign(int(val[0]) for (key, val, sub) in tokens if key == 'wv', group, float(val[1]), 'REPLACE')
+ ob.vertex_groups.assign([int(val[0]) for (key, val, sub) in tokens if key == 'wv'], group, float(val[1]), 'REPLACE')
return