Category matcher using full model set and also reduced models

* Based on FS report here: https://swift-project.slack.com/archives/G96QTUBEG/p1559071176005100
* Return reduced models and not full set if no category matching applies
This commit is contained in:
Klaus Basan
2019-05-29 23:17:42 +02:00
committed by Mat Sutcliffe
parent 50412aa0d1
commit c33dfce481
3 changed files with 13 additions and 9 deletions

View File

@@ -1008,7 +1008,7 @@ namespace BlackCore
if (setup.useCategoryMatching())
{
matchedModels = categoryMatcher.reduceByCategories(modelSet, setup, remoteAircraft, reduced, whatToLog, log);
matchedModels = categoryMatcher.reduceByCategories(matchedModels, modelSet, setup, remoteAircraft, reduced, whatToLog, log);
// ?? break here ??
}
else if (reduceLog)