Remove unnecessary tests for touch-state

This commit is contained in:
Robin Gareus 2017-07-25 20:16:04 +02:00
parent bde3edf1c8
commit 2fa34614d0
4 changed files with 13 additions and 39 deletions

View file

@ -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 ());
}
}