commit 07703215e7f88bdcdd1028b8701aca7542c8cd23
parent 15014ea074e0d00112359e8b8b46b8ce6ebdbe71
Author: falkTX <falktx@falktx.com>
Date: Thu, 28 Feb 2019 07:48:40 +0100
Another fix for exported ttl for plugins with instance access
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/distrho/src/DistrhoPluginLV2export.cpp b/distrho/src/DistrhoPluginLV2export.cpp
@@ -105,6 +105,9 @@ void lv2_generate_ttl(const char* const basename)
String manifestString;
manifestString += "@prefix lv2: <" LV2_CORE_PREFIX "> .\n";
manifestString += "@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n";
+#if DISTRHO_PLUGIN_HAS_UI && DISTRHO_PLUGIN_WANT_DIRECT_ACCESS
+ manifestString += "@prefix opts: <" LV2_OPTIONS_PREFIX "> .\n";
+#endif
#if DISTRHO_PLUGIN_WANT_PROGRAMS
manifestString += "@prefix pset: <" LV2_PRESETS_PREFIX "> .\n";
#endif