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:
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