Skip to content

Commit

Permalink
Updated GNERerouter. Refs #13894
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Dec 19, 2023
1 parent d549a9d commit 290a289
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/netedit/elements/additional/GNERerouter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ GNERerouter::updateCenteringBoundary(const bool updateGrid) {
updateGeometry();
// add shape boundary
myAdditionalBoundary = myAdditionalGeometry.getShape().getBoxBoundary();
/*
// add positions of all childrens (intervals and symbols)
for (const auto& additionalChildren : getChildAdditionals()) {
myAdditionalBoundary.add(additionalChildren->getPositionInView());
Expand All @@ -161,6 +162,7 @@ GNERerouter::updateCenteringBoundary(const bool updateGrid) {
}
}
}
*/
// grow
myAdditionalBoundary.grow(5);
// add additional into RTREE again
Expand Down

0 comments on commit 290a289

Please sign in to comment.