diff options
Diffstat (limited to 'libs/ardour/automation_control.cc')
-rw-r--r-- | libs/ardour/automation_control.cc | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index 03871cf07c..9a6590ebe8 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -116,11 +116,11 @@ AutomationControl::set_value (double val, PBD::Controllable::GroupControlDisposi * (e.g. record if necessary, etc.) * @param value `user' value */ -bool +void AutomationControl::actually_set_value (double value, PBD::Controllable::GroupControlDisposition gcd) { bool to_list = _list && boost::dynamic_pointer_cast<AutomationList>(_list)->automation_write(); - const double old_value = get_value (); + //const double old_value = Control::user_double (); Control::set_double (value, _session.transport_frame(), to_list); @@ -128,12 +128,7 @@ AutomationControl::actually_set_value (double value, PBD::Controllable::GroupCon //std::cerr << "++++ Changed (" << enum_2_string (at) << ", " << enum_2_string (gcd) << ") = " << value //<< " (was " << old_value << ") @ " << this << std::endl; - if (old_value != value) { - Changed (true, gcd); - return true; - } - - return false; + Changed (true, gcd); } void |