Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mocap
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-10-16 05:18:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-16 05:18:19 +0400
commit45e8032ffba689c14db72e064c43d064961a3cba (patch)
tree20955b6f054da66be75ef2fab068764d7719474f /mocap
parent855de6d13b5345ce39359ef375a1f0fb7e5bcbc4 (diff)
fix error enabling mocap tools [#28933]
Diffstat (limited to 'mocap')
-rw-r--r--mocap/__init__.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/mocap/__init__.py b/mocap/__init__.py
index 3de08a93..1c534318 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