mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-30 18:37:40 +01:00
Fix compatibility of marker positional lock style with 2.X sessions.
git-svn-id: svn://localhost/ardour2/branches/3.0@7580 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
69c9e2296c
commit
eaed7cfe25
1 changed files with 5 additions and 0 deletions
|
|
@ -83,7 +83,12 @@ Location::Location (const Location& other)
|
|||
|
||||
Location::Location (Session& s, const XMLNode& node)
|
||||
: SessionHandleRef (s)
|
||||
, _position_lock_style (AudioTime)
|
||||
{
|
||||
/* Note: _position_lock_style is initialised above in case set_state doesn't set it
|
||||
(for 2.X session file compatibility).
|
||||
*/
|
||||
|
||||
if (set_state (node, Stateful::loading_state_version)) {
|
||||
throw failed_constructor ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue