projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no dot prefix for VST cache files on windows.
[ardour.git]
/
libs
/
ardour
/
panner_search_path.cc
diff --git
a/libs/ardour/panner_search_path.cc
b/libs/ardour/panner_search_path.cc
index 559e306caa98ee1cb09e4cf9029dbc0ec51f1d7d..c400aa6c3bb4471e1617d1b6e7930c867b7ae94f 100644
(file)
--- a/
libs/ardour/panner_search_path.cc
+++ b/
libs/ardour/panner_search_path.cc
@@
-31,20
+31,14
@@
using namespace PBD;
namespace ARDOUR {
namespace ARDOUR {
-Search
P
ath
+Search
p
ath
panner_search_path ()
{
panner_search_path ()
{
- bool panner_path_defined = false;
- SearchPath spath_env (Glib::getenv(panner_env_variable_name, panner_path_defined));
+ Searchpath spath(user_config_directory ());
- 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.add_subdirectory_to_paths(panner_dir_name);
+ spath += Searchpath(Glib::getenv(panner_env_variable_name));
return spath;
}
return spath;
}