forward port 7015 from 2.x

git-svn-id: svn://localhost/ardour2/branches/3.0@7658 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-08-20 13:24:38 +00:00
parent 812e95da01
commit 8d1b41180a
2 changed files with 9 additions and 1 deletions

View File

@ -1286,6 +1286,10 @@ Editor::select_range_between ()
nframes64_t start;
nframes64_t end;
if (mouse_mode == MouseRange && !selection->time.empty()) {
selection->clear_time ();
}
if (!get_edit_op_range (start, end)) {
return;
}

View File

@ -484,6 +484,10 @@ Route::process_output_buffers (BufferSet& bufs,
}
assert (bufs.count() == (*i)->input_streams());
/* should we NOT run plugins here if the route is inactive?
do we catch route != active somewhere higher?
*/
(*i)->run (bufs, start_frame, end_frame, nframes, *i != _processors.back());
bufs.set_count ((*i)->output_streams());
}