Browse Source

Always load UI resources, fixes missing features (eg, noUserResize)

tags/1.9.8
falkTX 8 years ago
parent
commit
a9060e1e7e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      source/utils/CarlaLv2Utils.hpp

+ 2
- 1
source/utils/CarlaLv2Utils.hpp View File

@@ -2133,7 +2133,6 @@ const LV2_RDF_Descriptor* lv2_rdf_new(const LV2_URI uri, const bool loadPresets)


// -------------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------------
// Set Port Scale Points // Set Port Scale Points

{ {
Lilv::ScalePoints lilvScalePoints(lilvPort.get_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)); Lilv::UI lilvUI(lilvUIs.get(it));
LV2_RDF_UI* const rdfUI(&rdfDescriptor->UIs[h++]); LV2_RDF_UI* const rdfUI(&rdfDescriptor->UIs[h++]);


lv2World.load_resource(lilvUI.get_uri());

// ---------------------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------------------
// Set UI Type // Set UI Type




Loading…
Cancel
Save