From 333e20a3a60cccbab57957b8266ea043bb7bfb8a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 12 Jun 2017 02:25:20 +0200 Subject: VCA/SlavableAutomationCtrl re-design: * remember master-ctrl value on assignment & save with session * Control/AutomationCtrl only stores ctrl's own value (w/o master) * virtual AutomationControl::get_value () -> use SlavableAC method * MasterRecord uses weak-ptr (fixes recursive ~Controllable() deadlock) --- libs/pbd/pbd/controllable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/pbd/pbd') diff --git a/libs/pbd/pbd/controllable.h b/libs/pbd/pbd/controllable.h index 3b416b07fd..a255bd6284 100644 --- a/libs/pbd/pbd/controllable.h +++ b/libs/pbd/pbd/controllable.h @@ -138,7 +138,7 @@ class LIBPBD_API Controllable : public PBD::StatefulDestructible { PBD::Signal2 Changed; int set_state (const XMLNode&, int version); - XMLNode& get_state (); + virtual XMLNode& get_state (); std::string name() const { return _name; } -- cgit v1.2.3