13
0

VST3: store all input controls (not only automatable ones)

This commit is contained in:
Robin Gareus 2020-10-09 14:03:34 +02:00
parent d0ec83fb35
commit 37475308ee
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -452,7 +452,7 @@ VST3Plugin::add_state (XMLNode* root) const
{ {
XMLNode *child; XMLNode *child;
for (uint32_t i = 0; i < parameter_count (); ++i) { for (uint32_t i = 0; i < parameter_count (); ++i) {
if (!_plug->parameter_is_automatable (i)) { if (!parameter_is_input (i)) {
continue; continue;
} }
child = new XMLNode("Port"); child = new XMLNode("Port");