From 5d193f7638d897c6d3b610ae935e4554eb69b653 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 16 Oct 2020 22:26:20 +0200 Subject: [PATCH] Add Preference option to customize VST3 search path --- gtk2_ardour/rc_option_editor.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 71ddc6f615..ea5631c261 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -3713,6 +3713,16 @@ RCOptionEditor::RCOptionEditor () sigc::mem_fun (*this, &RCOptionEditor::clear_vst3_blacklist), _("VST 3 Blacklist:"))); + add_option (_("Plugins/VST"), + 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) + ), + _("Additional VST3 Path:"))); + #if (defined WINDOWS_VST_SUPPORT || defined MACVST_SUPPORT || defined LXVST_SUPPORT) add_option (_("Plugins/VST"), new OptionEditorHeading (_("VST2/VST3")));