From 45e8032ffba689c14db72e064c43d064961a3cba Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Sun, 16 Oct 2011 01:18:19 +0000 Subject: [PATCH] fix error enabling mocap tools [#28933] --- mocap/__init__.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/mocap/__init__.py b/mocap/__init__.py index 3de08a93e..1c5343183 100644 --- a/mocap/__init__.py +++ b/mocap/__init__.py @@ -50,9 +50,10 @@ else: 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 @@ def toggleIKBone(self, context): 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,9 +246,8 @@ def updateIKRetarget(): else: pose_bone.IKRetarget = False - updateIKRetarget() - +''' def hasIKConstraint(pose_bone): #utility function / predicate, returns True if given bone has IK constraint -- GitLab