Commit 919ddb61e80b5acdceb0cedc75756c2d26dda47d
1 parent
bd35069d
set a default value for -path
Showing
1 changed file
with
1 additions
and
0 deletions
openbr/openbr_plugin.cpp
| @@ -1153,6 +1153,7 @@ void br::Context::initialize(int &argc, char *argv[], QString sdkPath, bool useG | @@ -1153,6 +1153,7 @@ void br::Context::initialize(int &argc, char *argv[], QString sdkPath, bool useG | ||
| 1153 | Globals->init(File()); | 1153 | Globals->init(File()); |
| 1154 | Globals->useGui = useGui; | 1154 | Globals->useGui = useGui; |
| 1155 | Globals->algorithm = "Identity"; | 1155 | Globals->algorithm = "Identity"; |
| 1156 | + Globals->path = getenv("DATA"); // our convention | ||
| 1156 | 1157 | ||
| 1157 | Common::seedRNG(); | 1158 | Common::seedRNG(); |
| 1158 | 1159 |