From 9066dd731b7a4df67562bb581d15ac318673e6ab Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 14 Oct 2016 11:42:35 -0400 Subject: much simpler implementation of fix originally in c104c9d4726f3: don't call Session::set_dirty() or emit Changed() unless AutomationControl actually changes value --- libs/ardour/phase_control.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'libs/ardour/phase_control.cc') diff --git a/libs/ardour/phase_control.cc b/libs/ardour/phase_control.cc index 9757c104b9..04dd3ce361 100644 --- a/libs/ardour/phase_control.cc +++ b/libs/ardour/phase_control.cc @@ -49,7 +49,6 @@ PhaseControl::set_phase_invert (uint32_t c, bool yn) if (_phase_invert[c] != yn) { _phase_invert[c] = yn; AutomationControl::actually_set_value (_phase_invert.to_ulong(), Controllable::NoGroup); - _session.set_dirty (); } } @@ -59,8 +58,6 @@ PhaseControl::set_phase_invert (boost::dynamic_bitset<> p) if (_phase_invert != p) { _phase_invert = p; AutomationControl::actually_set_value (_phase_invert.to_ulong(), Controllable::NoGroup); - Changed (true, Controllable::NoGroup); /* EMIT SIGNAL */ - _session.set_dirty (); } } -- cgit v1.2.3