diff options
author | Robin Gareus <robin@gareus.org> | 2019-12-11 16:21:23 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-12-11 16:25:08 +0100 |
commit | 0a5837ec7111e446f168e6a5cc245b4b62fc7a9e (patch) | |
tree | b8830f0410889e2a76449f75a25a823173304d48 /libs/ardour/ardour/track.h | |
parent | dd18be15fbe9ad6a594f37b0d3a8183c0601babb (diff) |
Fix loading plugin state from sessions
While loading a session XML state, set_state must use
`Stateful::loading_state_version`.
When later copying processor state,
`Stateful::current_state_version` is correct.
Diffstat (limited to 'libs/ardour/ardour/track.h')
-rw-r--r-- | libs/ardour/ardour/track.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/track.h b/libs/ardour/ardour/track.h index fbac03edf0..2ab9b8ef9a 100644 --- a/libs/ardour/ardour/track.h +++ b/libs/ardour/ardour/track.h @@ -65,7 +65,7 @@ public: MeterState metering_state () const; - bool set_processor_state (XMLNode const & node, XMLProperty const* prop, ProcessorList& new_order, bool& must_configure); + bool set_processor_state (XMLNode const& node, int version, XMLProperty const* prop, ProcessorList& new_order, bool& must_configure); bool declick_in_progress () const; |