X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fpanner_search_path.cc;h=49349238e4cfed5e01e8a368ff45adc1184c71b8;hb=16a8762dd494adb68756b8d549f349ed7bdccd9b;hp=559e306caa98ee1cb09e4cf9029dbc0ec51f1d7d;hpb=f1fd7f6fa47f0b86a7097a32e03129102ae0611a;p=ardour.git diff --git a/libs/ardour/panner_search_path.cc b/libs/ardour/panner_search_path.cc index 559e306caa..49349238e4 100644 --- a/libs/ardour/panner_search_path.cc +++ b/libs/ardour/panner_search_path.cc @@ -34,18 +34,10 @@ 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 (); + spath += ardour_dll_directory (); spath.add_subdirectory_to_paths(panner_dir_name); - + spath += SearchPath(Glib::getenv(panner_env_variable_name)); return spath; }