Skip to content

Commit

Permalink
fix #14528
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Mar 18, 2024
1 parent 23113e6 commit dc828bb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/netbuild/NBNetBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ NBNetBuilder::compute(OptionsCont& oc, const std::set<std::string>& explicitTurn
PROGRESS_TIME_MESSAGE(before);
}
if (mayAddOrRemove && oc.exists("keep-edges.postload") && oc.getBool("keep-edges.postload")) {
// pre-process lines to set permissions
if (!myPTLineCont.getLines().empty()) {
before = PROGRESS_BEGIN_TIME_MESSAGE(TL("Revising public transport stops based on pt lines"));
myPTLineCont.process(myEdgeCont, myPTStopCont);
PROGRESS_TIME_MESSAGE(before);
}
if (oc.isSet("keep-edges.explicit") || oc.isSet("keep-edges.input-file")) {
before = PROGRESS_BEGIN_TIME_MESSAGE(TL("Removing unwished edges"));
myEdgeCont.removeUnwishedEdges(myDistrictCont);
Expand Down

0 comments on commit dc828bb

Please sign in to comment.