From a9060e1e7ebd480043ff26335d24aea8f3391d01 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 7 Jan 2018 17:26:10 +0100 Subject: [PATCH] Always load UI resources, fixes missing features (eg, noUserResize) --- source/utils/CarlaLv2Utils.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/utils/CarlaLv2Utils.hpp b/source/utils/CarlaLv2Utils.hpp index 975941679..1e271e67e 100644 --- a/source/utils/CarlaLv2Utils.hpp +++ b/source/utils/CarlaLv2Utils.hpp @@ -2133,7 +2133,6 @@ const LV2_RDF_Descriptor* lv2_rdf_new(const LV2_URI uri, const bool loadPresets) // -------------------------------------------------------------------------------------------------------- // Set Port Scale Points - { Lilv::ScalePoints lilvScalePoints(lilvPort.get_scale_points()); @@ -2364,6 +2363,8 @@ const LV2_RDF_Descriptor* lv2_rdf_new(const LV2_URI uri, const bool loadPresets) Lilv::UI lilvUI(lilvUIs.get(it)); LV2_RDF_UI* const rdfUI(&rdfDescriptor->UIs[h++]); + lv2World.load_resource(lilvUI.get_uri()); + // ---------------------------------------------------------------------------------------------------- // Set UI Type