Browse Source

Merge pull request #25 from zamaudio/fix-presets

lv2: Fix bug with multiple output param ports generating invalid ttl
pull/32/head
Filipe Coelho GitHub 7 years ago
parent
commit
965cae4fc5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      distrho/src/DistrhoPluginLV2export.cpp

+ 1
- 1
distrho/src/DistrhoPluginLV2export.cpp View File

@@ -703,7 +703,7 @@ void lv2_generate_ttl(const char* const basename)
else
presetString += " pset:value " + String(plugin.getParameterValue(j)) + " ;\n";

if (j+1 == numParameters || (j+2 == numParameters && plugin.isParameterOutput(j+1)))
if (j+1 == numParameters || plugin.isParameterOutput(j+1))
presetString += " ] .\n\n";
else
presetString += " ] ,\n";


Loading…
Cancel
Save