From 1b2a64c391d7f4a81dda85bdbd063fb80329e498 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 21 Feb 2017 15:04:20 +0100 Subject: redesign VCA control over gain (and theoretically other scalar controls) master(s) value now just scales the control's own value; a trivial bit of math at assign/deassign ensures that values do not change during add/remove master operations --- libs/ardour/automation_control.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/automation_control.cc') diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index c090bca364..0a29e7e662 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -169,9 +169,9 @@ AutomationControl::actually_set_value (double value, PBD::Controllable::GroupCon Control::set_double (value, pos, to_list); if (old_value != value) { - // AutomationType at = (AutomationType) _parameter.type(); - // std::cerr << "++++ Changed (" << enum_2_string (at) << ", " << enum_2_string (gcd) << ") = " << value - // << " (was " << old_value << ") @ " << this << std::endl; + //AutomationType at = (AutomationType) _parameter.type(); + //std::cerr << "++++ Changed (" << enum_2_string (at) << ", " << enum_2_string (gcd) << ") = " << value + //<< " (was " << old_value << ") @ " << this << std::endl; Changed (true, gcd); _session.set_dirty (); -- cgit v1.2.3