diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-08 20:51:38 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-08 20:51:38 +0400 |
commit | ff792f3249d6c02557860733e63ffb4f3eb8b0e1 (patch) | |
tree | 7916d7748acc86155b4c651a7d49a6ab9bce1893 /source/blender | |
parent | 04766ab071e43d041f19c586baa316da1432f614 (diff) |
Selecting track channel in tracking dopesheet would make track active,
just as it happens with curve view.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_clip/clip_dopesheet_ops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/clip_dopesheet_ops.c b/source/blender/editors/space_clip/clip_dopesheet_ops.c index 0fd17523425..7c08f1e2668 100644 --- a/source/blender/editors/space_clip/clip_dopesheet_ops.c +++ b/source/blender/editors/space_clip/clip_dopesheet_ops.c @@ -93,6 +93,10 @@ static int dopesheet_select_channel_exec(bContext *C, wmOperator *op) track->flag ^= TRACK_DOPE_SEL; else track->flag |= TRACK_DOPE_SEL; + + if (track->flag & TRACK_DOPE_SEL) { + tracking->act_track = track; + } } else if (!extend) track->flag &= ~TRACK_DOPE_SEL; |