mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 06:05:43 +01:00
OSC: custom mode should turn temp mode off
This commit is contained in:
parent
e1ce87956a
commit
8004b9bb8e
1 changed files with 2 additions and 0 deletions
|
|
@ -1406,6 +1406,7 @@ OSC::_custom_mode (uint32_t state, lo_address addr)
|
|||
sur->custom_mode = set->custom_mode;
|
||||
sur->custom_strips = set->custom_strips;
|
||||
}
|
||||
sur->temp_mode = TempOff;
|
||||
if (state > 0){
|
||||
if (sur->custom_strips.size () == 0) {
|
||||
PBD::warning << "No custom strips set to enable" << endmsg;
|
||||
|
|
@ -1431,6 +1432,7 @@ OSC::_custom_mode (uint32_t state, lo_address addr)
|
|||
if (ls) {
|
||||
set->custom_mode = sur->custom_mode;
|
||||
set->strips = sur->strips;
|
||||
set->temp_mode = sur->temp_mode;
|
||||
}
|
||||
return _set_bank (1, addr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue