commit eccd7fd7ed21a87286ba981b2810b7725a558150
parent 51ee4488ff530ff28ebdf26b47394a5948808b03
Author: falkTX <falktx@falktx.com>
Date: Thu, 7 Sep 2023 11:29:37 +0200
Fix previous commit, make sure LV2 host knows about file change
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/distrho/src/DistrhoPluginLV2.cpp b/distrho/src/DistrhoPluginLV2.cpp
@@ -1058,6 +1058,7 @@ public:
const std::size_t length = std::strlen(value);
DISTRHO_SAFE_ASSERT_CONTINUE(length == size || length+1 == size);
+ #if DISTRHO_PLUGIN_WANT_STATE
if (urid == fURIDs.atomPath)
{
const LV2_State_Map_Path* mapPath = nullptr;
@@ -1083,9 +1084,12 @@ public:
std::free(absolutePath);
#endif
+ // signal msg needed for UI
+ fNeededUiSends[i] = true;
continue;
}
}
+ #endif
setState(key, value);