fix thinko in d2835bc80 (re-enables mute, solo and likely other automation controls)

This commit is contained in:
Paul Davis 2016-10-17 13:19:42 -04:00
parent 39cad9ac00
commit 9a3c1dbfe7

View file

@ -147,9 +147,13 @@ AutomationControl::actually_set_value (double value, PBD::Controllable::GroupCon
if (al->automation_write ()) { if (al->automation_write ()) {
to_list = true; to_list = true;
old_value = Control::user_double (); old_value = Control::user_double ();
std::cerr << "OV UD with al AL\n";
} else if (al->automation_playback()) { } else if (al->automation_playback()) {
to_list = false; to_list = false;
old_value = al->eval (pos); old_value = al->eval (pos);
} else {
to_list = false;
old_value = Control::user_double ();
} }
} }
@ -163,6 +167,7 @@ AutomationControl::actually_set_value (double value, PBD::Controllable::GroupCon
Changed (true, gcd); Changed (true, gcd);
_session.set_dirty (); _session.set_dirty ();
} }
} }
void void