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-09-05 06:04:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-05 06:04:07 +0400
commit04cb99b42b0d49e6b075c39a1bfcee84dd85fa51 (patch)
tree700a64d4164cb9e1d8b6b70fdefa13f616c523e4 /mocap
parentcb43d89a378797e1a4a277198258678126061688 (diff)
replace tricky unicode chars for basic ascii.
Diffstat (limited to 'mocap')
-rw-r--r--mocap/__init__.py2
-rw-r--r--mocap/mocap_tools.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/mocap/__init__.py b/mocap/__init__.py
index b56bb342..99a9d4a8 100644
--- a/mocap/__init__.py
+++ b/mocap/__init__.py
@@ -239,6 +239,8 @@ def updateIKRetarget():
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"]
diff --git a/mocap/mocap_tools.py b/mocap/mocap_tools.py
index 5871c376..0bbc09d0 100644
--- a/mocap/mocap_tools.py
+++ b/mocap/mocap_tools.py
@@ -47,7 +47,6 @@ class NdVector:
# int/float
return NdVector([otherMember * x for x in self.vec])
-
def __sub__(self, otherVec):
a = self.vec
b = otherVec.vec