diff options
author | Robin Gareus <robin@gareus.org> | 2016-10-30 22:25:18 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-10-30 22:25:18 +0100 |
commit | a994fd30bd2404d4c3328b063c758d205a6b7d7f (patch) | |
tree | 0e1f8f1656b3bcce058cc3fb06015511c1507720 /libs/ardour | |
parent | e08c80370cfcadb7400b6f342b027b6c64ed3dd0 (diff) |
extend Mixbus' "Safe Mode"
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/session_state.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index c30c773e1d..fbfefaec7e 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -3637,6 +3637,11 @@ Session::add_instant_xml (XMLNode& node, bool write_to_config) XMLNode* Session::instant_xml (const string& node_name) { +#ifdef MIXBUS // "Safe Mode" (shift + click open) -> also ignore instant.xml + if (get_disable_all_loaded_plugins ()) { + return NULL; + } +#endif return Stateful::instant_xml (node_name, _path); } |