projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e08c803
)
extend Mixbus' "Safe Mode"
author
Robin Gareus
<robin@gareus.org>
Sun, 30 Oct 2016 21:25:18 +0000
(22:25 +0100)
committer
Robin Gareus
<robin@gareus.org>
Sun, 30 Oct 2016 21:25:18 +0000
(22:25 +0100)
libs/ardour/session_state.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session_state.cc
b/libs/ardour/session_state.cc
index c30c773e1d381cac3a0a81c41b25e4d747586330..fbfefaec7e2ecfcb154ce571f5867c901bb5d1fd 100644
(file)
--- 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);
}