diff options
author | Benjy Cook <benjycook@hotmail.com> | 2011-07-29 22:23:16 +0400 |
---|---|---|
committer | Benjy Cook <benjycook@hotmail.com> | 2011-07-29 22:23:16 +0400 |
commit | ce1c78e18bf41115a8a149dd85115292c1919bea (patch) | |
tree | e64975676588e12e3bbc309220ee6279f0efad52 /release/scripts/modules | |
parent | e4a512351d2f80d07042180f10d54ae2d35d5001 (diff) |
Changed name of Mocap constraints to mocap fixes, for user clarity.
Diffstat (limited to 'release/scripts/modules')
-rw-r--r-- | release/scripts/modules/mocap_constraints.py | 6 | ||||
-rw-r--r-- | release/scripts/modules/retarget.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/modules/mocap_constraints.py b/release/scripts/modules/mocap_constraints.py index 7a49a96b7b1..25e78d2bf9b 100644 --- a/release/scripts/modules/mocap_constraints.py +++ b/release/scripts/modules/mocap_constraints.py @@ -59,7 +59,7 @@ def addNewConstraint(m_constraint, cons_obj): c_type = "LIMIT_LOCATION" #create and store the new constraint within m_constraint real_constraint = cons_obj.constraints.new(c_type) - real_constraint.name = "Mocap constraint " + str(len(cons_obj.constraints)) + real_constraint.name = "Mocap fix " + str(len(cons_obj.constraints)) m_constraint.real_constraint_bone = consObjToBone(cons_obj) m_constraint.real_constraint = real_constraint.name #set the rest of the constraint properties @@ -336,7 +336,7 @@ def bakeAllConstraints(obj, s_frame, e_frame, bones): simpleBake += [end_bone] for bone in selectedBones: bone.bone.select = True - constraintTrack = obj.animation_data.nla_tracks["Mocap constraints"] + constraintTrack = obj.animation_data.nla_tracks["Mocap fixes"] constraintStrip = constraintTrack.strips[0] constraintStrip.action_frame_start = s_frame constraintStrip.action_frame_end = e_frame @@ -375,7 +375,7 @@ def unbakeConstraints(context): obj = context.active_object bones = obj.pose.bones scene = bpy.context.scene - constraintTrack = obj.animation_data.nla_tracks["Mocap constraints"] + constraintTrack = obj.animation_data.nla_tracks["Mocap fixes"] constraintStrip = constraintTrack.strips[0] action = constraintStrip.action # delete the fcurves on the strip diff --git a/release/scripts/modules/retarget.py b/release/scripts/modules/retarget.py index ecf627798c4..bec7b8aaa3e 100644 --- a/release/scripts/modules/retarget.py +++ b/release/scripts/modules/retarget.py @@ -384,9 +384,9 @@ def NLASystemInitialize(enduser_obj, s_frame): mocapTrack.name = "Base Mocap Track" mocapStrip = mocapTrack.strips.new("Base Mocap", s_frame, mocapAction) constraintTrack = anim_data.nla_tracks.new() - constraintTrack.name = "Mocap constraints" - constraintAction = bpy.data.actions.new("Mocap constraints") - constraintStrip = constraintTrack.strips.new("Mocap constraints", s_frame, constraintAction) + constraintTrack.name = "Mocap fixes" + constraintAction = bpy.data.actions.new("Mocap fixes") + constraintStrip = constraintTrack.strips.new("Mocap fixes", s_frame, constraintAction) constraintStrip.extrapolation = "NOTHING" userTrack = anim_data.nla_tracks.new() userTrack.name = "Mocap manual fix" |