diff options
author | Benjy Cook <benjycook@hotmail.com> | 2011-08-03 22:13:44 +0400 |
---|---|---|
committer | Benjy Cook <benjycook@hotmail.com> | 2011-08-03 22:13:44 +0400 |
commit | b9039168fee70db8e9809fad36be0f6209b081e4 (patch) | |
tree | d3a6cb0550f60a3c70f448d8f9f38064fb41669b /release | |
parent | fde1dc0fb2fd6275e85821f12a6bc362cc6a2d38 (diff) |
Fixed coding style to conform to pep8
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/mocap_constraints.py | 6 |
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 |