Browse Source

LV2 Client: Avoid assertion when invoking manifest writer with a relative path

v7.0.9
reuk 3 years ago
parent
commit
f47041eefd
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp

+ 5
- 1
modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp View File

@@ -813,7 +813,11 @@ struct RecallFeature
{
const ScopedJuceInitialiser_GUI scope;
const auto processor = LV2PluginInstance::createProcessorInstance();
const File absolutePath { CharPointer_UTF8 { libraryPath } };
const String pathString { CharPointer_UTF8 { libraryPath } };
const auto absolutePath = File::isAbsolutePath (pathString) ? File (pathString)
: File::getCurrentWorkingDirectory().getChildFile (pathString);
const auto writers = { writeManifestTtl, writeDspTtl, writeUiTtl };


Loading…
Cancel
Save