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:
authorThomas Larsson <thomas_larsson_01@hotmail.com>2013-04-29 12:28:45 +0400
committerThomas Larsson <thomas_larsson_01@hotmail.com>2013-04-29 12:28:45 +0400
commitb62cdb0dcb2210f24764b428a8a552c02c76bf37 (patch)
tree988443d49749ca311f4608f53e60e3e30572d8b0 /io_import_scene_mhx.py
parent62e52d3eee19c699010725b3db9b4c8cfed8f702 (diff)
MHX importer: Support for rigify rig updated to be compatible with Rigify plugin for Blender 2.67 RC1.
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 5ce5fdd0..d2fa48b7 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -39,7 +39,7 @@ Alternatively, run the script in the script editor (Alt-P), and access from the
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 @@ bl_info = {
MAJOR_VERSION = 1
MINOR_VERSION = 15
FROM_VERSION = 13
-SUB_VERSION = 1
+SUB_VERSION = 3
#
#
@@ -2547,10 +2547,10 @@ def rigifyMhx(context, name):
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 @@ def rigifyMhx(context, name):
# 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