From 27f0baab53dcc6341eb36ed403d5baf55552f5e5 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 24 Nov 2020 00:31:27 +0100 Subject: [PATCH] VST3: fix VST3 path customization --- gtk2_ardour/rc_option_editor.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index ea5631c261..250a0d8ca8 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -3713,15 +3713,19 @@ RCOptionEditor::RCOptionEditor () sigc::mem_fun (*this, &RCOptionEditor::clear_vst3_blacklist), _("VST 3 Blacklist:"))); - add_option (_("Plugins/VST"), + RcActionButton* vst3_path = new RcActionButton (_("Edit"), sigc::bind (sigc::mem_fun (*this, &RCOptionEditor::edit_vst_path), _("Set Additional VST3 Search Path"), PluginManager::instance().get_default_windows_vst_path (), - sigc::mem_fun (*_rc_config, &RCConfiguration::get_plugin_path_vst), - sigc::mem_fun (*_rc_config, &RCConfiguration::set_plugin_path_vst) + sigc::mem_fun (*_rc_config, &RCConfiguration::get_plugin_path_vst3), + sigc::mem_fun (*_rc_config, &RCConfiguration::set_plugin_path_vst3) ), - _("Additional VST3 Path:"))); + _("Additional VST3 Path:")); + + vst3_path->set_note (_("Customizing VST3 paths is discouraged. Note that default VST3 paths as per specification are always searched, and need not be explicitly set.")); + add_option (_("Plugins/VST"), vst3_path); + #if (defined WINDOWS_VST_SUPPORT || defined MACVST_SUPPORT || defined LXVST_SUPPORT)