diff options
author | Thomas Larsson <thomas_larsson_01@hotmail.com> | 2012-11-26 17:47:29 +0400 |
---|---|---|
committer | Thomas Larsson <thomas_larsson_01@hotmail.com> | 2012-11-26 17:47:29 +0400 |
commit | 453a555fe4679c3c37d5c8e318c47a1ba6cdaf5d (patch) | |
tree | fe0bb4404dfe851d2ab8cd7f4489379b11738f3c | |
parent | 4f0dd4670d3753041dc814289eb517ad0ad611ae (diff) |
Fixed bugs introduced by new treatment of properties in mhx.
-rw-r--r-- | io_import_scene_mhx.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py index 54b4fdca..a96106e9 100644 --- a/io_import_scene_mhx.py +++ b/io_import_scene_mhx.py @@ -2139,7 +2139,7 @@ def deleteDiamonds(ob): theProperty = None def propNames(string): - if string[0:3] in ["Mha", "Mhf", "Mhs"]: + if string[0:3] in ["Mha", "Mhf", "Mhs", "Mhh"]: name = string.replace("-","_") return name, name elif string[0] == "_": @@ -3951,8 +3951,8 @@ def ik2fkArm(context, suffix): (uparmIk, loarmIk, elbow, elbowPt, wrist) = getSnapBones(rig, "ArmIK", suffix) (uparmFk, loarmFk, elbowPtFk, handFk) = getSnapBones(rig, "ArmFK", suffix) - #rig["&ElbowFollowsShoulder" + suffix] = False - #rig["&ElbowFollowsWrist" + suffix] = False + #rig["MhaElbowFollowsShoulder" + suffix] = False + #rig["MhaElbowFollowsWrist" + suffix] = False matchPoseTranslation(wrist, handFk, auto) matchPoseRotation(wrist, handFk, auto) @@ -3985,8 +3985,8 @@ def ik2fkLeg(context, suffix): (uplegIk, lolegIk, kneePt, ankleIk, legIk, legFk, footIk, toeIk) = getSnapBones(rig, "LegIK", suffix) (uplegFk, lolegFk, kneePtFk, footFk, toeFk) = getSnapBones(rig, "LegFK", suffix) - #rig["&KneeFollowsHip" + suffix] = False - #rig["&KneeFollowsFoot" + suffix] = False + #rig["MhaKneeFollowsHip" + suffix] = False + #rig["MhaKneeFollowsFoot" + suffix] = False legIkToAnkle = rig["MhaLegIkToAnkle" + suffix] if legIkToAnkle: |