Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 60d1e561 authored by bkerbl's avatar bkerbl
Browse files

Merge commit '2c1d2ec9' into gaussian_code_release_union

parents e10d1d03 2c1d2ec9
No related branches found
No related tags found
1 merge request!40core/utils: fix installDirectory method in linux
......@@ -134,14 +134,15 @@ int main(int ac, char** av)
window.loadSettings();
std::string cfgLine;
std::ifstream cfgFile(myArgs.modelPath.get() + "/cfg_args");
if (!cfgFile.good())
{
SIBR_ERR << "Could not find config file 'cfg_args' at " << myArgs.modelPath.get();
}
std::getline(cfgFile, cfgLine);
if (!myArgs.dataset_path.isInit())
{
std::ifstream cfgFile(myArgs.modelPath.get() + "/cfg_args");
if (!cfgFile.good())
{
SIBR_ERR << "Could not find config file 'cfg_args' at " << myArgs.modelPath.get();
}
std::getline(cfgFile, cfgLine);
auto rng = findArg(cfgLine, "source_path");
myArgs.dataset_path = cfgLine.substr(rng.first + 1, rng.second - rng.first - 2);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment