From 73d559056eaeb789d08e558b982ff69c3841e495 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 14 Sep 2023 07:49:13 -0600 Subject: [PATCH] partial Route::set_state() calls with a MementoCommand should not reset processor state (#9434) --- libs/ardour/route.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 912f03aa1d..ee7e29382d 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -3117,6 +3117,11 @@ void Route::set_processor_state (const XMLNode& node, int version) { const XMLNodeList &nlist = node.children(); + + if (nlist.empty()) { + return; + } + XMLNodeConstIterator niter; ProcessorList new_order; bool must_configure = false;