[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2457] trunk/py/scripts/addons/mocap/ __init__.py: fix error enabling mocap tools [#28933]

Campbell Barton ideasman42 at gmail.com
Sun Oct 16 03:18:19 CEST 2011


Revision: 2457
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2457
Author:   campbellbarton
Date:     2011-10-16 01:18:19 +0000 (Sun, 16 Oct 2011)
Log Message:
-----------
fix error enabling mocap tools [#28933]

Modified Paths:
--------------
    trunk/py/scripts/addons/mocap/__init__.py

Modified: trunk/py/scripts/addons/mocap/__init__.py
===================================================================
--- trunk/py/scripts/addons/mocap/__init__.py	2011-10-15 18:10:40 UTC (rev 2456)
+++ trunk/py/scripts/addons/mocap/__init__.py	2011-10-16 01:18:19 UTC (rev 2457)
@@ -50,9 +50,10 @@
                            PointerProperty,
                            StringProperty,
                            )
-    from . import mocap_constraints
-    from . import retarget
-    from . import mocap_tools
+    from . import (mocap_constraints,
+                   retarget,
+                   mocap_tools,
+                   )
 
 
 # MocapConstraint class
@@ -229,7 +230,8 @@
 class MocapMapping(bpy.types.PropertyGroup):
     name = StringProperty()
 
-
+# Disabling for now [#28933] - campbell
+'''
 def updateIKRetarget():
     # ensures that Blender constraints and IK properties are in sync
     # currently runs when module is loaded, should run when scene is loaded
@@ -244,10 +246,9 @@
                 else:
                     pose_bone.IKRetarget = False
 
-
 updateIKRetarget()
+'''
 
-
 def hasIKConstraint(pose_bone):
     #utility function / predicate, returns True if given bone has IK constraint
     ik = [constraint for constraint in pose_bone.constraints if constraint.type == "IK"]



More information about the Bf-extensions-cvs mailing list