[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4494] trunk/py/scripts/addons/ io_import_scene_mhx.py: MHX importer: Support for rigify rig updated to be compatible with Rigify plugin for Blender 2 .67 RC1.
Thomas Larsson
thomas_larsson_01 at hotmail.com
Mon Apr 29 10:28:45 CEST 2013
Revision: 4494
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4494
Author: thomasl
Date: 2013-04-29 08:28:45 +0000 (Mon, 29 Apr 2013)
Log Message:
-----------
MHX importer: Support for rigify rig updated to be compatible with Rigify plugin for Blender 2.67 RC1.
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 2013-04-29 02:34:10 UTC (rev 4493)
+++ trunk/py/scripts/addons/io_import_scene_mhx.py 2013-04-29 08:28:45 UTC (rev 4494)
@@ -39,7 +39,7 @@
bl_info = {
'name': 'Import: MakeHuman (.mhx)',
'author': 'Thomas Larsson',
- 'version': (1, 15, 2),
+ 'version': (1, 15, 3),
"blender": (2, 65, 0),
'location': "File > Import > MakeHuman (.mhx)",
'description': 'Import files in the MakeHuman eXchange format (.mhx)',
@@ -52,7 +52,7 @@
MAJOR_VERSION = 1
MINOR_VERSION = 15
FROM_VERSION = 13
-SUB_VERSION = 1
+SUB_VERSION = 3
#
#
@@ -2547,10 +2547,10 @@
newParents = {
'head' : 'DEF-head',
'ribs' : 'DEF-ribs',
- 'upper_arm.L' : 'DEF-upper_arm.L.02',
- 'thigh.L' : 'DEF-thigh.L.02',
- 'upper_arm.R' : 'DEF-upper_arm.R.02',
- 'thigh.R' : 'DEF-thigh.R.02',
+ 'upper_arm.L' : 'DEF-upper_arm.02.L',
+ 'thigh.L' : 'DEF-thigh.02.L',
+ 'upper_arm.R' : 'DEF-upper_arm.02.R',
+ 'thigh.R' : 'DEF-thigh.02.R',
}
for eb in mhx.data.edit_bones:
@@ -2589,7 +2589,7 @@
# Change meta bone locations
scn.objects.active = None
try:
- bpy.ops.object.armature_human_advanced_add()
+ bpy.ops.object.armature_human_metarig_add()
success = True
except:
success = False
More information about the Bf-extensions-cvs
mailing list