set the flag true
authorMichael R. Fisher <mfisher@bketech.com>
Mon, 15 Jul 2013 02:22:34 +0000 (21:22 -0500)
committerMichael R. Fisher <mfisher@bketech.com>
Mon, 15 Jul 2013 02:22:34 +0000 (21:22 -0500)
libs/ardour/lv2_plugin.cc

index 6d4a71869f0c9105bd02060d3ed39dca8e02a0f7..df33e6c38dee89cab44235769fbf2035f0f79c65 100644 (file)
@@ -1980,16 +1980,18 @@ LV2World::load_bundled_plugins()
                if (plugin_objects) {
                        for ( vector<string *>::iterator x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
 #ifdef WINDOWS
-                                       string uri = "file:///" + **x + "/";
+                               string uri = "file:///" + **x + "/";
 #else
-                                       string uri = "file://" + **x + "/";
+                               string uri = "file://" + **x + "/";
 #endif
-                                       LilvNode *node = lilv_new_uri(world, uri.c_str());
-                                       lilv_world_load_bundle(world, node);
-                                       lilv_node_free(node);
-                               }
+                               LilvNode *node = lilv_new_uri(world, uri.c_str());
+                               lilv_world_load_bundle(world, node);
+                               lilv_node_free(node);
                        }
+               }
                delete (plugin_objects);
+
+               _bundle_checked = true;
        }
 }