X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fpanner_search_path.cc;h=63802ffc4e7e113a3e717236ca9a94b7d87eb375;hb=9cbe231b920d92a2e44e08962a3ed6870b962f34;hp=cbb62bbf3c3bbaf34eafecc36d81f5f150590727;hpb=40e2a6b16b47acf1f19a31f5e6d1cd463c45e1b6;p=ardour.git diff --git a/libs/ardour/panner_search_path.cc b/libs/ardour/panner_search_path.cc index cbb62bbf3c..63802ffc4e 100644 --- a/libs/ardour/panner_search_path.cc +++ b/libs/ardour/panner_search_path.cc @@ -34,18 +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 ()); - - 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; }