Pārlūkot izejas kodu

change map_lanetoxodr.

yuchuli 2 gadi atpakaļ
vecāks
revīzija
6b9cf5f0e3
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/tool/map_lanetoxodr/function/ndsdataproc.cpp

+ 2 - 0
src/tool/map_lanetoxodr/function/ndsdataproc.cpp

@@ -679,6 +679,8 @@ int NDSDataProc::ProcNDSData(std::string strlinepath,std::string strvehiclepath,
         s = s + xvectorgeo[j].mfLen;
     }
 
+    p->SetRoadLength(s);
+
     p->AddLaneSection(0);
 
     LaneSection * pLS = p->GetLaneSection(0);