Skip to content

Commit

Permalink
Fixed #4828
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Nov 28, 2018
1 parent 3727cad commit bdcc719
Show file tree
Hide file tree
Showing 6 changed files with 370 additions and 258 deletions.
12 changes: 7 additions & 5 deletions src/netedit/GNENet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2432,11 +2432,13 @@ GNENet::reserveJunctionID(const std::string& id) {

void
GNENet::initGNEConnections() {
for (auto it : myAttributeCarriers.edges) {
it.second->remakeGNEConnections();
}
for (auto it : myAttributeCarriers.edges) {
it.second->updateGeometry(true);
for (const auto &i : myAttributeCarriers.edges) {
// remake connections
i.second->remakeGNEConnections();
// update geometry of connections
for (const auto &j : i.second->getGNEConnections()) {
j->updateGeometry(true);
}
}
}

Expand Down
Loading

0 comments on commit bdcc719

Please sign in to comment.