Skip to content
Snippets Groups Projects
Commit eb481e60 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

load->filename

parent 91d9b72c
No related branches found
No related tags found
1 merge request!466devel->main
Pipeline #13332 canceled
......@@ -173,9 +173,9 @@ ProblemPtr Problem::autoSetup(ParamsServer &_server)
map->setProblem(problem);
problem->setMap(map);
// load map from file (optional)
if (_server.hasParam("map/load"))
if (_server.hasParam("map/filename"))
{
problem->loadMap(_server.getParam<std::string>("map/load"));
problem->loadMap(_server.getParam<std::string>("map/filename"));
}
// Tree manager
......
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