From cbd1a25f8c515662904c013e67518a8318cffadb Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 17 Nov 2016 16:29:08 +0100 Subject: [PATCH] Fix track-templates with sidechains -- closes #7117 --- libs/ardour/plugin_insert.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 1887bb7123..e0a66776ab 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -2606,7 +2606,9 @@ PluginInsert::set_state(const XMLNode& node, int version) if (!_sidechain) { add_sidechain (0); } - _sidechain->set_state (**i, version); + if (!regenerate_xml_or_string_ids ()) { + _sidechain->set_state (**i, version); + } } }