mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
MCU: fix banking in the plugin subview
the addition of the current bank to the global strip position was just causing the vpots to be off by the bank number, so past bank 1 the pots were tied to the wrong plugins
This commit is contained in:
parent
b501ae855d
commit
9fd131fbaa
1 changed files with 0 additions and 5 deletions
|
|
@ -1162,11 +1162,6 @@ void PluginSelect::setup_vpot(
|
|||
void PluginSelect::handle_vselect_event(uint32_t global_strip_position,
|
||||
std::shared_ptr<ARDOUR::Stripable> subview_stripable)
|
||||
{
|
||||
/* adjust global_strip_position to make sure we're accessing the
|
||||
* correct controllable since we might be banked within the subview.
|
||||
*/
|
||||
global_strip_position += _current_bank;
|
||||
|
||||
/* PluginSelect mode: press selects the plugin shown on the strip's LCD */
|
||||
if (!subview_stripable) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue