mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-21 12:55:57 +01:00
don't include session-search paths with templates
This commit is contained in:
parent
10d05f0ee3
commit
75f9a7cf11
1 changed files with 8 additions and 1 deletions
|
|
@ -1136,7 +1136,14 @@ Session::state (bool full_state)
|
|||
node->add_child_nocopy (*midi_port_stuff);
|
||||
}
|
||||
|
||||
node->add_child_nocopy (config.get_variables ());
|
||||
XMLNode& cfgxml (config.get_variables ());
|
||||
if (!full_state) {
|
||||
/* exclude search-paths from template */
|
||||
cfgxml.remove_nodes_and_delete ("name", "audio-search-path");
|
||||
cfgxml.remove_nodes_and_delete ("name", "midi-search-path");
|
||||
cfgxml.remove_nodes_and_delete ("name", "raid-path");
|
||||
}
|
||||
node->add_child_nocopy (cfgxml);
|
||||
|
||||
node->add_child_nocopy (ARDOUR::SessionMetadata::Metadata()->get_state());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue