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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-19 18:59:58 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-19 19:12:29 +0300
commitd7d3233715503ecc15b8dd1973f7e73257e2cbda (patch)
treef9f9ab24b89fe574b3f972e45c8337bcd791a9b1 /mocap/retarget.py
parent84b817117328b3193533324846ec389b1f5fe5c4 (diff)
Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3746
Diffstat (limited to 'mocap/retarget.py')
-rw-r--r--mocap/retarget.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/mocap/retarget.py b/mocap/retarget.py
index d0b203cd..c979c00b 100644
--- a/mocap/retarget.py
+++ b/mocap/retarget.py
@@ -61,8 +61,8 @@ def loadMapping(perf_arm, end_arm):
perf_arm.bones[perf_bone.name].map = end_bone.name
#creation of intermediate armature
-# the intermediate armature has the hiearchy of the end user,
-# does not have rotation inheritence
+# the intermediate armature has the hierarchy of the end user,
+# does not have rotation inheritance
# and bone roll is identical to the performer
# its purpose is to copy over the rotations
# easily while concentrating on the hierarchy changes
@@ -92,7 +92,7 @@ def createIntermediate(performer_obj, enduser_obj, root, s_frame, e_frame, scene
lerp_matrix = first_mat.lerp(next_mat, 0.5)
return lerp_matrix
- #determines the type of hierachy change needed and calls the
+ #determines the type of hierarchy change needed and calls the
#right function
def retargetPerfToInter(inter_bone):
if inter_bone.bone.reverseMap:
@@ -176,7 +176,7 @@ def retargetEnduser(inter_obj, enduser_obj, root, s_frame, e_frame, scene, step)
inter_bones = inter_obj.pose.bones
end_bones = enduser_obj.pose.bones
- #Basic "visual baking" function, for transfering rotations from intermediate to end user
+ #Basic "visual baking" function, for transferring rotations from intermediate to end user
def bakeTransform(end_bone):
src_bone = inter_bones[end_bone.name]
trg_bone = end_bone
@@ -219,7 +219,7 @@ def retargetEnduser(inter_obj, enduser_obj, root, s_frame, e_frame, scene, step)
end_bone.keyframe_insert("location")
bakeTransform(end_bone)
-#recieves the performer feet bones as a variable
+#receives the performer feet bones as a variable
# by "feet" I mean those bones that have plants
# (they don't move, despite root moving) somewhere in the animation.