summaryrefslogtreecommitdiff
path: root/libs/ardour/session.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-12-27 22:24:24 +0100
committerRobin Gareus <robin@gareus.org>2016-12-27 22:24:24 +0100
commitbbbf8e61274774972b90397be875a4c6c15b8b54 (patch)
tree7e7d46327471ab4edb4bd7e8b64ffb2ee0bffd1f /libs/ardour/session.cc
parente71ea821dd0166015b41ade10c198455349dc662 (diff)
Add backend support to extract session-archives
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r--libs/ardour/session.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index d7393d747e..112a933e19 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -333,7 +333,7 @@ Session::Session (AudioEngine &eng,
init_name_id_counter (1); // reset for new sessions, start at 1
VCA::set_next_vca_number (1); // reset for new sessions, start at 1
- pre_engine_init (fullpath);
+ pre_engine_init (fullpath); // sets _is_new
setup_lua ();
@@ -479,6 +479,8 @@ Session::Session (AudioEngine &eng,
}
#endif
+ ensure_subdirs (); // archived or zipped sessions may lack peaks/ analysis/ etc
+
_is_new = false;
session_loaded ();