(linux too!) set ARDOUR_SURFACES_PATH for a bundle, just like ARDOUR_PANNER_PATH
git-svn-id: svn://localhost/ardour2/branches/3.0@9192 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
40e2a6b16b
commit
d8a302d647
@ -237,7 +237,6 @@ fixup_bundle_environment (int, char* [])
|
||||
|
||||
setenv ("ARDOUR_SURFACES_PATH", path.c_str(), 1);
|
||||
|
||||
|
||||
path = dir_path;
|
||||
path += "/../Frameworks/clearlooks";
|
||||
|
||||
@ -424,6 +423,18 @@ fixup_bundle_environment (int /*argc*/, char* argv[])
|
||||
|
||||
setenv ("ARDOUR_PANNER_PATH", path.c_str(), 1);
|
||||
|
||||
cstr = getenv ("ARDOUR_SURFACES_PATH");
|
||||
if (cstr) {
|
||||
path = cstr;
|
||||
path += ':';
|
||||
} else {
|
||||
path = "";
|
||||
}
|
||||
path += dir_path;
|
||||
path += "/lib/surfaces";
|
||||
|
||||
setenv ("ARDOUR_SURFACES_PATH", path.c_str(), 1);
|
||||
|
||||
path = dir_path;
|
||||
path += "/lib/clearlooks";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user