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-09-16 12:52:33 +0400
committerThomas Larsson <thomas_larsson_01@hotmail.com>2013-09-16 12:52:33 +0400
commitcf6493491297a05e0e4bcfd7b9e6c7b6b7b2ef86 (patch)
tree6aa87bede187956d4cd87836d8443e14e65c823c /io_import_scene_mhx.py
parent18a9f8928762f080496b7616cebd6bd66c17a1f3 (diff)
Fixed crash when importing a rigifiable armature.
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r--io_import_scene_mhx.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index 8ba9e625..147ee6ed 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -2520,6 +2520,7 @@ class RigifyBone:
def rigifyMhx(context):
+ global theArmature
from collections import OrderedDict
print("Modifying MHX rig to Rigify")
@@ -2701,6 +2702,7 @@ def rigifyMhx(context):
del rig
gen.name = name
bpy.ops.object.mode_set(mode='POSE')
+ theArmature = gen
print("MHX rig %s successfully rigified" % name)