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:
authorLuca Bonavita <mindrones@gmail.com>2011-01-17 14:00:53 +0300
committerLuca Bonavita <mindrones@gmail.com>2011-01-17 14:00:53 +0300
commit8d9a43f2f4956edbbd159c6e64f4c0b2cabd4cec (patch)
tree398b40719e158e9d5ab64e40e605e4c8e74e19c2 /io_import_scene_mhx.py
parente4aef311ddeb856c08283fde2396e3f41c64204e (diff)
Makehuman: Copy version 1.0.4 from extern/py/scripts/addons/makehuman/1.0.4/ in trunk too
(until we get an addons online dispatcher, this is better distributed from trunk)
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r--io_import_scene_mhx.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index ac2a960a..273848c1 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -15,16 +15,16 @@
Abstract
MHX (MakeHuman eXchange format) importer for Blender 2.5x.
-Version 1.0.3
+Version 1.0.4
"""
bl_info = {
'name': 'Import: MakeHuman (.mhx)',
'author': 'Thomas Larsson',
- 'version': (1, 0, 3),
- 'blender': (2, 5, 5),
- 'api': 33590,
+ 'version': (1, 0, 4),
+ 'blender': (2, 5, 6),
+ 'api': 34326,
'location': "File > Import",
'description': 'Import files in the MakeHuman eXchange format (.mhx)',
'warning': '',
@@ -42,8 +42,8 @@ Access from the File > Import menu.
MAJOR_VERSION = 1
MINOR_VERSION = 0
-SUB_VERSION = 3
-BLENDER_VERSION = (2, 55, 1)
+SUB_VERSION = 4
+BLENDER_VERSION = (2, 56, 0)
#
#
@@ -1387,7 +1387,7 @@ def parseVertexGroup(ob, me, args, tokens):
loadedData['VertexGroup'][grpName] = group
for (key, val, sub) in tokens:
if key == 'wv':
- ob.vertex_groups.assign( [int(val[0])], group, float(val[1]), 'REPLACE' )
+ group.add( [int(val[0])], float(val[1]), 'REPLACE' )
return