Maintenance at Wednesday, 30. June 2021, from 8:15 to 9:15
Some of the planned changes may require user action

Verified Commit d1a51407 authored by Mohcine Chraibi's avatar Mohcine Chraibi
Browse files

correct absolute path to geometry

parent a926f117
......@@ -738,7 +738,7 @@ bool MainWindow::addPedestrianGroup(int groupID,QString fileName)
Debug::Error("Geomery file does not exist.");
geometry_file = check_file.fileName();
//geometry_file = check_file.fileName();
// @todo: check xml file too, although probably xml files
// always have a geometry tag
......@@ -756,11 +756,11 @@ bool MainWindow::addPedestrianGroup(int groupID,QString fileName)
if(! SaxParser::parseGeometryJPS(geometry_file,geometry)) {
int res = QMessageBox::warning(this, "Errors in Geometry. Continue Parsing?",
"JuPedSim has detected an error in the supplied geometry.\n"
"The simulation will likely failed using that geometry.\n"
"The simulation will likely fail using this geometry.\n"
"Also make sure to validate your file.\n"
"More information are provided in the log file:\n"
"\n\nShould I try to parse and display what I can ?"
"\n\nShould I try to parse and display what I can?"
, QMessageBox::Yes
| QMessageBox::No, QMessageBox::No);
if (res == QMessageBox::No) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment