mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
"cancel" only cancels [new VST] discovery, not index-cache-reading
This commit is contained in:
parent
832e02a711
commit
00b9774671
1 changed files with 4 additions and 6 deletions
|
|
@ -672,9 +672,8 @@ PluginManager::windows_vst_discover_from_path (string path, bool cache_only)
|
||||||
|
|
||||||
if (plugin_objects) {
|
if (plugin_objects) {
|
||||||
for (x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
|
for (x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
|
||||||
if (cancelled()) break;
|
ARDOUR::PluginScanMessage(_("VST"), **x, !cache_only && !cancelled());
|
||||||
ARDOUR::PluginScanMessage(_("VST"), **x, !cache_only);
|
windows_vst_discover (**x, cache_only || cancelled());
|
||||||
windows_vst_discover (**x, cache_only);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
vector_delete (plugin_objects);
|
vector_delete (plugin_objects);
|
||||||
|
|
@ -795,9 +794,8 @@ PluginManager::lxvst_discover_from_path (string path, bool cache_only)
|
||||||
|
|
||||||
if (plugin_objects) {
|
if (plugin_objects) {
|
||||||
for (x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
|
for (x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
|
||||||
if (cancelled()) break;
|
ARDOUR::PluginScanMessage(_("LXVST"), **x, !cache_only && !cancelled());
|
||||||
ARDOUR::PluginScanMessage(_("LXVST"), **x, !cache_only);
|
lxvst_discover (**x, cache_only || cancelled());
|
||||||
lxvst_discover (**x, cache_only);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
vector_delete (plugin_objects);
|
vector_delete (plugin_objects);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue