Skip to content

Commit

Permalink
fix #5179
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Feb 12, 2019
1 parent 4b8b80e commit 7b5e2d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/netbuild/NBNodeCont.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,9 @@ NBNodeCont::guessTLs(OptionsCont& oc, NBTrafficLightLogicCont& tlc) {
}
const EdgeVector& incoming = node->getIncomingEdges();
const EdgeVector& outgoing = node->getOutgoingEdges();
if (!node->isTLControlled() && incoming.size() > 1 && !node->geometryLike() && !NBNodeTypeComputer::isRailwayNode(node)) {
if (!node->isTLControlled() && incoming.size() > 1 && !node->geometryLike()
&& !NBNodeTypeComputer::isRailwayNode(node)
&& node->getType() != NODETYPE_RAIL_CROSSING) {
std::vector<NBNode*> signals;
bool isTLS = true;
for (EdgeVector::const_iterator it_i = incoming.begin(); it_i != incoming.end(); ++it_i) {
Expand Down

0 comments on commit 7b5e2d7

Please sign in to comment.