Fix a plugin-insert position off-by-one and remove cruft.
authorRobin Gareus <robin@gareus.org>
Tue, 4 Jul 2017 16:06:54 +0000 (18:06 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 4 Jul 2017 16:08:36 +0000 (18:08 +0200)
commit608f99ad1cdfcfc20059f3fdb7ec0d6820615f70
treea7441ecb61c92748f3fa81aa7d512fc0affc0bd7
parent2fdeb54b7845f4077d1dd4b1158ea1c1e5a3e44b
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.
gtk2_ardour/processor_box.cc
gtk2_ardour/processor_box.h