Skip to content

Commit

Permalink
now copying all lane-specific attributes from edge template refs #457
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/behr_mi/git/sumo_synched/trunk@15639 afbd958f-9f77-42d5-a016-97a22340ccf4
  • Loading branch information
namdre committed Feb 19, 2014
1 parent 2d81923 commit 0781a08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sumo/src/netbuild/NBEdge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ NBEdge::NBEdge(const std::string& id, NBNode* from, NBNode* to, NBEdge* tpl) :
for (unsigned int i = 0; i < getNumLanes(); i++) {
setSpeed(i, tpl->getLaneSpeed(i));
setPermissions(tpl->getPermissions(i), i);
setLaneWidth(i, tpl->getLaneWidth(i));
setOffset(i, tpl->getOffset(i));
}
}

Expand Down

0 comments on commit 0781a08

Please sign in to comment.