mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Remove unnecessary tests for touch-state
This commit is contained in:
parent
bde3edf1c8
commit
2fa34614d0
4 changed files with 13 additions and 39 deletions
|
|
@ -1240,9 +1240,7 @@ GenericMidiControlProtocol::maybe_start_touch (Controllable* controllable)
|
|||
{
|
||||
AutomationControl *actl = dynamic_cast<AutomationControl*> (controllable);
|
||||
if (actl) {
|
||||
if (actl->automation_state() == Touch && !actl->touching()) {
|
||||
actl->start_touch (session->audible_frame ());
|
||||
}
|
||||
actl->start_touch (session->audible_frame ());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue