a better fix for click oddness: do not clear clicks when transport stops till *after* the new _transport_frame value has been set, so that we know when the clicks were accurately cleared

git-svn-id: svn://localhost/ardour2/branches/3.0@11327 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-01-24 02:30:46 +00:00
parent e09dccc662
commit e2b181bc5c

View File

@ -465,7 +465,6 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished)
auditioner->cancel_audition ();
}
clear_clicks();
cumulative_rf_motion = 0;
reset_rf_scale (0);
@ -582,13 +581,14 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished)
_requested_return_frame = -1;
if (do_locate) {
clear_clicks ();
_engine.transport_locate (_transport_frame);
}
}
}
clear_clicks();
/* do this before seeking, because otherwise the tracks will do the wrong thing in seamless loop mode.
*/