Commit 0faa6019 authored by limingbo's avatar limingbo

test

parent 210c773b
...@@ -48,17 +48,19 @@ void getCrossTasks( ...@@ -48,17 +48,19 @@ void getCrossTasks(
if(allTaskInfo.size() < 2){ if(allTaskInfo.size() < 2){
return; return;
} }
vector<TaskInfo> filteredTaskInfo = allTaskInfo; vector<TaskInfo> closeTaskInfo = allTaskInfo;
if(allTaskInfo.front().meshOutPath != ""){ if(allTaskInfo.front().meshOutPath != ""){
filteredTaskInfo = meshOutFilter(allTaskInfo); closeTaskInfo = meshOutFilter(allTaskInfo);
} }
if(filteredTaskInfo.size() < 2){ if(closeTaskInfo.size() < 2){
filteredTaskInfo = allTaskInfo; LOG(INFO) << "closeTaskInfo.size() < 2";
closeTaskInfo = allTaskInfo;
} }
for(TaskInfo taskInfo : filteredTaskInfo){ for(size_t i = 1; i < closeTaskInfo.size(); i++){
LOG(INFO) << "closeTask: " << taskInfo.taskPath; TaskInfo task = closeTaskInfo[i];
LOG(INFO) << "closeTask: " << task.taskPath;
} }
crossTasks = crossFilter(filteredTaskInfo); crossTasks = crossFilter(closeTaskInfo);
} }
bool getTaskInfo( bool getTaskInfo(
......
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