Selecting track channel in tracking dopesheet would make track active,

just as it happens with curve view.
This commit is contained in:
Sergey Sharybin
2012-06-08 16:51:38 +00:00
parent 04766ab071
commit ff792f3249

View File

@@ -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;