[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1419] trunk/py/scripts/addons/ io_import_scene_mhx.py: Makehuman: Copy version 1.0.4 from extern/py/ scripts/addons/makehuman/1.0.4/ in trunk too

Luca Bonavita mindrones at gmail.com
Mon Jan 17 12:00:55 CET 2011


Revision: 1419
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1419
Author:   mindrones
Date:     2011-01-17 11:00:53 +0000 (Mon, 17 Jan 2011)
Log Message:
-----------
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)

Modified Paths:
--------------
    trunk/py/scripts/addons/io_import_scene_mhx.py

Modified: trunk/py/scripts/addons/io_import_scene_mhx.py
===================================================================
--- trunk/py/scripts/addons/io_import_scene_mhx.py	2011-01-17 10:47:26 UTC (rev 1418)
+++ trunk/py/scripts/addons/io_import_scene_mhx.py	2011-01-17 11:00:53 UTC (rev 1419)
@@ -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 @@
 
 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 @@
         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
 
 



More information about the Bf-extensions-cvs mailing list