Skip to content

Commit

Permalink
fixing crash. refs #11668
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Apr 8, 2024
1 parent a772aa5 commit 864cebc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/netbuild/NBNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3527,6 +3527,9 @@ NBNode::buildCrossingOutlines() {
for (auto c : getCrossings()) {
PositionVector wa1 = waShapes[c->prevWalkingArea];
PositionVector wa2 = waShapes[c->nextWalkingArea];
if (wa1.empty() || wa2.empty()) {
continue;
}
wa1.closePolygon();
wa2.closePolygon();
PositionVector side1 = c->shape;
Expand Down

0 comments on commit 864cebc

Please sign in to comment.