diff options
author | Thomas Larsson <thomas_larsson_01@hotmail.com> | 2011-09-27 20:45:25 +0400 |
---|---|---|
committer | Thomas Larsson <thomas_larsson_01@hotmail.com> | 2011-09-27 20:45:25 +0400 |
commit | b65a9c8504c099016d92572ab2e334dac53c4039 (patch) | |
tree | 008243cbe6318ae069847f415caec132e3152bad /io_import_scene_mhx.py | |
parent | 6e1924c9fed16c0a818488be7af568830f847efe (diff) |
MHX importer: removed Limit constraints option.
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r-- | io_import_scene_mhx.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py index c3c3e1d8..8efdbcf3 100644 --- a/io_import_scene_mhx.py +++ b/io_import_scene_mhx.py @@ -98,7 +98,6 @@ todo = [] T_EnforceVersion = 0x01 T_Clothes = 0x02 T_Stretch = 0x04 -T_Limit = 0x08 T_Diamond = 0x10 T_Replace = 0x20 @@ -115,7 +114,7 @@ T_Opcns = 0x2000 T_Symm = 0x4000 toggle = (T_EnforceVersion + T_Replace + T_Mesh + T_Armature + - T_Face + T_Shape + T_Proxy + T_Clothes + T_Rigify + T_Limit) + T_Face + T_Shape + T_Proxy + T_Clothes + T_Rigify) # # Blender versions @@ -2034,9 +2033,6 @@ def correctRig(args): if cns.type == 'CHILD_OF': cnslist.append((pb, cns, cns.influence)) cns.influence = 0 - elif ((toggle & T_Limit == 0) and - (cns.type in ['LIMIT_DISTANCE', 'LIMIT_ROTATION'])): - cns.influence = 0 for (pb, cns, inf) in cnslist: amt.bones.active = pb.bone @@ -2871,7 +2867,6 @@ MhxBoolProps = [ ("symm", "Symmetric shapes", "Keep shapekeys symmetric", T_Symm), ("diamond", "Diamonds", "Keep joint diamonds", T_Diamond), ("rigify", "Rigify", "Create rigify control rig", T_Rigify), - ("limit", "Limit constraints", "Keep limit constraints", T_Limit), ] class ImportMhx(bpy.types.Operator, ImportHelper): |