Fix a plugin-insert position off-by-one and remove cruft.

Route::before_processor_for_index() uses display_to_user() which
includes the Amp.

Insert position is still be wrong with the debug mode
ProcessorBox::show_all_processors == true, but that's not a regression.
This commit is contained in:
Robin Gareus 2017-07-04 18:06:54 +02:00
parent 2fdeb54b78
commit 608f99ad1c
2 changed files with 0 additions and 36 deletions

View file

@ -490,7 +490,6 @@ private:
* put at the end of the plugin list.
*/
int _placement;
uint32_t _visible_prefader_processors;
ProcessorSelection& _p_selection;
static Gtkmm2ext::ActionMap myactions;
@ -537,7 +536,6 @@ private:
bool processor_button_release_event (GdkEventButton *, ProcessorEntry *);
void redisplay_processors ();
void add_processor_to_display (boost::weak_ptr<ARDOUR::Processor>);
void help_count_visible_prefader_processors (boost::weak_ptr<ARDOUR::Processor>, uint32_t*, bool*);
void reordered ();
void report_failed_reorder ();
void route_processors_changed (ARDOUR::RouteProcessorChange);