From da1e28973ea225595d6d53de7e4327bc50ec1d3e Mon Sep 17 00:00:00 2001 From: Ulrich Kemloh <kemlohulrich@gmail.com> Date: Mon, 6 Jul 2015 14:59:13 +0200 Subject: [PATCH] proper scaling of the labels and relaxed checks while parsing the geometry. Meaning some geometry will be displayed even if there were errors, the simulation will not run though. This eases debugging. --- src/general/Macros.h | 2 +- src/geometry/SubRoom.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/general/Macros.h b/src/general/Macros.h index 3fcfd0d..27d6fc2 100644 --- a/src/general/Macros.h +++ b/src/general/Macros.h @@ -78,7 +78,7 @@ #define CLENGTH 1000 // conversion (cm <-> m) -#define FAKTOR 1 +#define FAKTOR 100 // default final destination for the pedestrians #define FINAL_DEST_OUT -1 diff --git a/src/geometry/SubRoom.cpp b/src/geometry/SubRoom.cpp index 0b289cf..2866572 100644 --- a/src/geometry/SubRoom.cpp +++ b/src/geometry/SubRoom.cpp @@ -849,7 +849,7 @@ bool NormalSubRoom::ConvertLineToPoly(const vector<Line*>& goals) if(IsPartOfPolygon(ptw)==false) { Log->Write("ERROR:\t Wall was not used during polygon creation for subroom: %s",w.toString().c_str()); - return false; + //return false; } } } @@ -862,7 +862,7 @@ bool NormalSubRoom::ConvertLineToPoly(const vector<Line*>& goals) if(IsPartOfPolygon(ptw)==false) { Log->Write("ERROR:\t goal was not used during polygon creation for subroom: %s",g->toString().c_str()); - return false; + //return false; } } } -- GitLab