clean up cherry-pick of varifill tweaks from Waves Tracks

This commit is contained in:
Paul Davis 2015-01-29 22:21:58 -05:00
parent 6b48d566d9
commit cabe8d31d9

View file

@ -346,36 +346,26 @@ Session::post_engine_init ()
Port::set_connecting_blocked (false); Port::set_connecting_blocked (false);
DirtyChanged (); /* EMIT SIGNAL */ DirtyChanged (); /* EMIT SIGNAL */
}
void if (_is_new) {
Session::session_loaded () save_state ("");
{ } else if (state_was_pending) {
SessionLoaded(); save_state ("");
remove_pending_capture_state ();
_state_of_the_state = Clean; state_was_pending = false;
}
DirtyChanged (); /* EMIT SIGNAL */
if (_is_new) {
save_state ("");
} else if (state_was_pending) {
save_state ("");
remove_pending_capture_state ();
state_was_pending = false;
}
/* Now, finally, we can fill the playback buffers */ /* Now, finally, we can fill the playback buffers */
BootMessage (_("Filling playback buffers")); BootMessage (_("Filling playback buffers"));
boost::shared_ptr<RouteList> rl = routes.reader(); boost::shared_ptr<RouteList> rl = routes.reader();
for (RouteList::iterator r = rl->begin(); r != rl->end(); ++r) { for (RouteList::iterator r = rl->begin(); r != rl->end(); ++r) {
boost::shared_ptr<Track> trk = boost::dynamic_pointer_cast<Track> (*r); boost::shared_ptr<Track> trk = boost::dynamic_pointer_cast<Track> (*r);
if (trk && !trk->hidden()) { if (trk && !trk->hidden()) {
trk->seek (_transport_frame, true); trk->seek (_transport_frame, true);
} }
} }
} }
string string