Fix finding of bundled LV2 plugins
authorTim Mayberry <mojofunk@gmail.com>
Sun, 22 Jun 2014 03:20:25 +0000 (13:20 +1000)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 25 Jun 2014 16:40:10 +0000 (12:40 -0400)
libs/ardour/lv2_plugin.cc

index c754e581bdde97f3d0c46a6745660d36f8b18d19..1bdb2f20d6e76921a51833b6fa539813c328f223 100644 (file)
@@ -2015,7 +2015,7 @@ LV2World::load_bundled_plugins()
                cout << "Scanning folders for bundled LV2s: " << ARDOUR::lv2_bundled_search_path().to_string() << endl;
 
                vector<string> plugin_objects;
-               find_files_matching_filter (plugin_objects, ARDOUR::lv2_bundled_search_path(), lv2_filter, 0, true, true);
+               find_paths_matching_filter (plugin_objects, ARDOUR::lv2_bundled_search_path(), lv2_filter, 0, true, true, true);
                for ( vector<string>::iterator x = plugin_objects.begin(); x != plugin_objects.end (); ++x) {
 #ifdef PLATFORM_WINDOWS
                        string uri = "file:///" + *x + "/";