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>2013-09-23 12:04:55 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-09-23 12:04:55 +0400
commit6619d6cba7107268d747536d809abb51f8ee058a (patch)
tree519fb879a32c92a2ad831cd457e220bb76520c7e /source/blender/editors/space_clip
parent771e607e82d13321dcbd7b941ee50b7cceb22c9b (diff)
Fix potential usage of wrong track when setting axis for scene orientation
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r--source/blender/editors/space_clip/tracking_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c
index 7a6546053cd..246ea7fe140 100644
--- a/source/blender/editors/space_clip/tracking_ops.c
+++ b/source/blender/editors/space_clip/tracking_ops.c
@@ -2405,7 +2405,7 @@ static int set_axis_exec(bContext *C, wmOperator *op)
track = tracksbase->first;
while (track) {
- if (TRACK_VIEW_SELECTED(sc, track))
+ if (TRACK_VIEW_SELECTED(sc, track) && (track->flag & TRACK_HAS_BUNDLE))
break;
track = track->next;