From c8877fe6d24bed3457bb59b83379479ffc88b7f3 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 28 Feb 2019 07:49:07 +0100 Subject: [PATCH] Another fix for exported ttl for plugins with instance access Signed-off-by: falkTX --- distrho/src/DistrhoPluginLV2export.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/distrho/src/DistrhoPluginLV2export.cpp b/distrho/src/DistrhoPluginLV2export.cpp index 3472ac31..fce2e3f7 100644 --- 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: .\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