mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
set the flag true
This commit is contained in:
parent
e487814e9d
commit
be44b3c37b
1 changed files with 8 additions and 6 deletions
|
|
@ -1980,16 +1980,18 @@ LV2World::load_bundled_plugins()
|
||||||
if (plugin_objects) {
|
if (plugin_objects) {
|
||||||
for ( vector<string *>::iterator x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
|
for ( vector<string *>::iterator x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
|
||||||
#ifdef WINDOWS
|
#ifdef WINDOWS
|
||||||
string uri = "file:///" + **x + "/";
|
string uri = "file:///" + **x + "/";
|
||||||
#else
|
#else
|
||||||
string uri = "file://" + **x + "/";
|
string uri = "file://" + **x + "/";
|
||||||
#endif
|
#endif
|
||||||
LilvNode *node = lilv_new_uri(world, uri.c_str());
|
LilvNode *node = lilv_new_uri(world, uri.c_str());
|
||||||
lilv_world_load_bundle(world, node);
|
lilv_world_load_bundle(world, node);
|
||||||
lilv_node_free(node);
|
lilv_node_free(node);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
delete (plugin_objects);
|
delete (plugin_objects);
|
||||||
|
|
||||||
|
_bundle_checked = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue