diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-02-26 21:20:25 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-17 16:31:49 -0600 |
commit | a30ee6950dfc37b54bd1e235387fc4415cfb2fd4 (patch) | |
tree | 7f05f8b2f6bbdc7a5581dfd726adc9d78a7db079 /libs/ardour/audio_track.cc | |
parent | a4d7b45fe00996fd37a1af6d5be8c913a0b3bbf4 (diff) |
restore being able to load a 5.12 session with a destructive track.
Not all is working right yet, however
Diffstat (limited to 'libs/ardour/audio_track.cc')
-rw-r--r-- | libs/ardour/audio_track.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/audio_track.cc b/libs/ardour/audio_track.cc index 20a540b0fa..74ecaeb6c3 100644 --- a/libs/ardour/audio_track.cc +++ b/libs/ardour/audio_track.cc @@ -143,6 +143,11 @@ AudioTrack::set_state (const XMLNode& node, int version) _mode = Normal; } + if (_mode == Destructive) { + /* XXX warn user */ + _mode = Normal; + } + if (Track::set_state (node, version)) { return -1; } |