From 37475308eee0cdfb9254888eba580ce9479fe88b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 9 Oct 2020 14:03:34 +0200 Subject: [PATCH] VST3: store all input controls (not only automatable ones) --- libs/ardour/vst3_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/vst3_plugin.cc b/libs/ardour/vst3_plugin.cc index f2d6dbabdd..f5d21b5219 100644 --- a/libs/ardour/vst3_plugin.cc +++ b/libs/ardour/vst3_plugin.cc @@ -452,7 +452,7 @@ VST3Plugin::add_state (XMLNode* root) const { XMLNode *child; for (uint32_t i = 0; i < parameter_count (); ++i) { - if (!_plug->parameter_is_automatable (i)) { + if (!parameter_is_input (i)) { continue; } child = new XMLNode("Port");