[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2364] trunk/py/scripts/addons/ io_import_scene_mhx.py: MHX importer: removed Limit constraints option.
Thomas Larsson
thomas_larsson_01 at hotmail.com
Tue Sep 27 18:45:25 CEST 2011
Revision: 2364
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2364
Author: thomasl
Date: 2011-09-27 16:45:25 +0000 (Tue, 27 Sep 2011)
Log Message:
-----------
MHX importer: removed Limit constraints option.
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 2011-09-27 15:17:19 UTC (rev 2363)
+++ trunk/py/scripts/addons/io_import_scene_mhx.py 2011-09-27 16:45:25 UTC (rev 2364)
@@ -98,7 +98,6 @@
T_EnforceVersion = 0x01
T_Clothes = 0x02
T_Stretch = 0x04
-T_Limit = 0x08
T_Diamond = 0x10
T_Replace = 0x20
@@ -115,7 +114,7 @@
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 @@
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 @@
("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):
More information about the Bf-extensions-cvs
mailing list