X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fpanner_search_path.cc;h=63802ffc4e7e113a3e717236ca9a94b7d87eb375;hb=9cbe231b920d92a2e44e08962a3ed6870b962f34;hp=434e9461e23e5d15b3cf4a70175785d84a33ef7c;hpb=e43b01535c491cc8190d53b538bc7a7fd125165c;p=ardour.git diff --git a/libs/ardour/panner_search_path.cc b/libs/ardour/panner_search_path.cc index 434e9461e2..63802ffc4e 100644 --- a/libs/ardour/panner_search_path.cc +++ b/libs/ardour/panner_search_path.cc @@ -17,7 +17,6 @@ */ -#include #include #include "ardour/panner_search_path.h" @@ -35,20 +34,11 @@ namespace ARDOUR { SearchPath panner_search_path () { - bool panner_path_defined = false; - SearchPath spath_env (Glib::getenv(panner_env_variable_name, panner_path_defined)); - - if (panner_path_defined) { - return spath_env; - } - - SearchPath spath (user_config_directory ()); - - std::cerr << "for panner, AMD = " << ardour_module_directory().to_string() << std::endl; - - spath += ardour_module_directory (); + SearchPath spath(user_config_directory ()); + spath += ardour_dll_directory (); spath.add_subdirectory_to_paths(panner_dir_name); + spath += SearchPath(Glib::getenv(panner_env_variable_name)); return spath; }