Commit f00c9a4f authored by limingbo's avatar limingbo

test

parent 4456e28d
...@@ -33,7 +33,7 @@ void getCrossTasks( ...@@ -33,7 +33,7 @@ void getCrossTasks(
LOG(WARNING) << "currTask getTaskInfo fail!"; LOG(WARNING) << "currTask getTaskInfo fail!";
return; return;
} }
allTaskInfo.insert(allTaskInfo.begin(), taskInfo); allTaskInfo.push_back(taskInfo);
for(size_t i = 1; i < allTask.size(); i++){ for(size_t i = 1; i < allTask.size(); i++){
string task = allTask[i]; string task = allTask[i];
if(boost::filesystem::path(task).filename().string() == if(boost::filesystem::path(task).filename().string() ==
...@@ -87,7 +87,7 @@ bool getTaskInfo( ...@@ -87,7 +87,7 @@ bool getTaskInfo(
taskInfo.taskPath = taskPath; taskInfo.taskPath = taskPath;
taskInfo.trajPath = trajPath; taskInfo.trajPath = trajPath;
string meshOutPath = taskPath + "/meshes.out"; string meshOutPath = taskPath + "/meshes.out";
if(!exists(meshOutPath)){ if(exists(meshOutPath)){
taskInfo.meshOutPath = meshOutPath; taskInfo.meshOutPath = meshOutPath;
} }
return true; return true;
......
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