added environment variable for effects path
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
QString real_app_dir;
|
||||
|
||||
QString get_effects_dir() {
|
||||
QString env_path(qgetenv("OLIVE_EFFECTS_PATH"));
|
||||
if (!env_path.isEmpty()) return env_path;
|
||||
return get_app_dir() + "/effects";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user