[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4009] trunk/py/scripts/addons/ io_import_scene_mhx.py: Fixed bugs introduced by new treatment of properties in mhx.
Thomas Larsson
thomas_larsson_01 at hotmail.com
Mon Nov 26 14:47:29 CET 2012
Revision: 4009
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4009
Author: thomasl
Date: 2012-11-26 13:47:29 +0000 (Mon, 26 Nov 2012)
Log Message:
-----------
Fixed bugs introduced by new treatment of properties in mhx.
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 2012-11-26 12:35:52 UTC (rev 4008)
+++ trunk/py/scripts/addons/io_import_scene_mhx.py 2012-11-26 13:47:29 UTC (rev 4009)
@@ -2139,7 +2139,7 @@
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 @@
(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 @@
(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:
More information about the Bf-extensions-cvs
mailing list