Commit c2f9788f authored by wangdawei's avatar wangdawei

read stream

parent 4675e6a9
...@@ -231,7 +231,7 @@ void AdjustPPK::LoadMapInfo() ...@@ -231,7 +231,7 @@ void AdjustPPK::LoadMapInfo()
directory_iterator stream_iter(outputDir); directory_iterator stream_iter(outputDir);
directory_iterator stream_end_iter; directory_iterator stream_end_iter;
for(; stream_iter != stream_end_iter; stream_iter++) { for(; stream_iter != stream_end_iter; stream_iter++) {
auto fileName = stream_iter->path().filename().string(); auto fileName = stream_iter->path().stem().string();
ulong meshId = stoi(fileName); ulong meshId = stoi(fileName);
if(meshVec_.find(meshId) == meshVec_.end()){ if(meshVec_.find(meshId) == meshVec_.end()){
MashMap meshMap; MashMap meshMap;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment