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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-02-09 14:24:44 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-02-09 14:24:44 +0400
commitc966601e86880910c4027c10f48cb4952f71de4f (patch)
tree21f7f746b7fd9f6e40691be5661116e1d3a51032 /release/scripts/startup/bl_operators/clip.py
parent1f3df9e65968260e8ec6a873c4425a2646d3eb7e (diff)
Reset Use Active Clip for Follow Track constraints when linking empty to a track
Diffstat (limited to 'release/scripts/startup/bl_operators/clip.py')
-rw-r--r--release/scripts/startup/bl_operators/clip.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/clip.py b/release/scripts/startup/bl_operators/clip.py
index 9e4a5819961..7a80b432c3a 100644
--- a/release/scripts/startup/bl_operators/clip.py
+++ b/release/scripts/startup/bl_operators/clip.py
@@ -143,6 +143,7 @@ class CLIP_OT_track_to_empty(Operator):
if constraint is None:
constraint = ob.constraints.new(type='FOLLOW_TRACK')
+ constraint.use_active_clip = False
constraint.clip = sc.clip
constraint.track = track.name
constraint.use_3d_position = False