projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
925501c
)
missing local export config is not an error
author
Robin Gareus
<robin@gareus.org>
Wed, 25 May 2016 11:56:11 +0000
(13:56 +0200)
committer
Robin Gareus
<robin@gareus.org>
Wed, 25 May 2016 11:56:11 +0000
(13:56 +0200)
libs/ardour/export_profile_manager.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/export_profile_manager.cc
b/libs/ardour/export_profile_manager.cc
index 717f1e305c43cf455b9b2f69ec514f2d3e4f5c21..fd6e6de1c50c16887ec3d2621bff8ddc421c2a74 100644
(file)
--- a/
libs/ardour/export_profile_manager.cc
+++ b/
libs/ardour/export_profile_manager.cc
@@
-180,9
+180,14
@@
ExportProfileManager::load_preset (ExportPresetPtr preset)
if (!preset) { return false; }
XMLNode const * state;
+ /* local state is saved in instant.xml and contains timespan
+ * and channel config for per session.
+ * It may not be present for a given preset/session combination
+ * and is never preset for system-wide presets, but that's OK.
+ */
if ((state = preset->get_local_state())) {
set_local_state (*state);
- }
else { ok = false; }
+ }
if ((state = preset->get_global_state())) {
if (!set_global_state (*state)) {