diff options
author | Robin Gareus <robin@gareus.org> | 2017-06-12 02:25:20 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-06-12 02:26:23 +0200 |
commit | 333e20a3a60cccbab57957b8266ea043bb7bfb8a (patch) | |
tree | 842ce7b1d91aadfec3595ac25d96f1890c9d1d66 /libs/pbd/pbd | |
parent | 3d2bbf93efe42412823722a17ae4da25db3b51f2 (diff) |
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)
Diffstat (limited to 'libs/pbd/pbd')
-rw-r--r-- | libs/pbd/pbd/controllable.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<void,bool,PBD::Controllable::GroupControlDisposition> Changed; int set_state (const XMLNode&, int version); - XMLNode& get_state (); + virtual XMLNode& get_state (); std::string name() const { return _name; } |