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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjy Cook <benjycook@hotmail.com>2011-08-03 22:13:44 +0400
committerBenjy Cook <benjycook@hotmail.com>2011-08-03 22:13:44 +0400
commitb9039168fee70db8e9809fad36be0f6209b081e4 (patch)
treed3a6cb0550f60a3c70f448d8f9f38064fb41669b /release/scripts/modules
parentfde1dc0fb2fd6275e85821f12a6bc362cc6a2d38 (diff)
Fixed coding style to conform to pep8
Diffstat (limited to 'release/scripts/modules')
-rw-r--r--release/scripts/modules/mocap_constraints.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/modules/mocap_constraints.py b/release/scripts/modules/mocap_constraints.py
index 7ac2387d787..8fd42d17392 100644
--- a/release/scripts/modules/mocap_constraints.py
+++ b/release/scripts/modules/mocap_constraints.py
@@ -195,7 +195,7 @@ def setConstraint(m_constraint, context):
e += s_out
#Set the blender constraint parameters
if m_constraint.type == "point":
- constraint_settings = False # are fix settings keyframed?
+ constraint_settings = False # are fix settings keyframed?
if not m_constraint.targetSpace == "constrained_boneB":
real_constraint.owner_space = m_constraint.targetSpace
else:
@@ -223,7 +223,7 @@ def setConstraint(m_constraint, context):
for t in range(s, e):
context.scene.frame_set(t)
src_bone_pos = src_bone.matrix.to_translation()
- bakedPos[t] = src_bone_pos + m_constraint.targetPoint # final position for constrained bone in object space
+ bakedPos[t] = src_bone_pos + m_constraint.targetPoint # final position for constrained bone in object space
context.scene.frame_set(c_frame)
for frame in bakedPos.keys():
pos = bakedPos[frame]
@@ -233,7 +233,7 @@ def setConstraint(m_constraint, context):
yCurve.keyframe_points.insert(frame=frame, value=pos.y)
for zCurve in zCurves:
zCurve.keyframe_points.insert(frame=frame, value=pos.z)
-
+
if not constraint_settings:
x, y, z = m_constraint.targetPoint
real_constraint.max_x = x