Skip to content

Commit

Permalink
Fixed #16017
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Jan 28, 2025
1 parent 3df03b1 commit a28f003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netedit/GNENet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ GNENet::deleteJunction(GNEJunction* junction, GNEUndoList* undoList) {
// iterate over crossing of neighbour junction
for (const auto& crossing : junctionNeighbour->getGNECrossings()) {
// if at least one of the edges of junction to remove belongs to a crossing of the neighbour junction, delete it
if (crossing->checkEdgeBelong(junctionNeighbour->getChildEdges())) {
if (crossing->checkEdgeBelong(junction->getChildEdges())) {
crossingsToRemove.push_back(crossing);
}
}
Expand Down

0 comments on commit a28f003

Please sign in to comment.