|
@@ -491,10 +491,13 @@ int DialogRoadSplit::SplitLaneSection(Road *proad1, Road *proad2, vector<LaneSe
|
|
|
proad2->GetLaneSectionVector()->insert(proad2->GetLaneSectionVector()->begin(),LS);
|
|
|
}
|
|
|
|
|
|
- for(i=0;i<proad2->GetLaneSectionCount();i++)
|
|
|
+ proad2->GetLaneSectionVector()->at(0).SetS(0);
|
|
|
+
|
|
|
+ for(i=1;i<proad2->GetLaneSectionCount();i++)
|
|
|
{
|
|
|
proad2->GetLaneSectionVector()->at(i).SetS(proad2->GetLaneSectionVector()->at(i).GetS() - flen1);
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
return 0;
|
|
|
}
|