Browse Source

lv2: Fix bug with multiple output param ports generating invalid ttl

pull/25/head
Damien Zammit 6 years ago
parent
commit
ce74a0775a
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