mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Use models from centralized model cache
* no copy needed * cache is synchronized when loading models
This commit is contained in:
@@ -540,7 +540,7 @@ namespace BlackSimPlugin
|
||||
QList<Prefix> packages;
|
||||
|
||||
Q_ASSERT(isConnected());
|
||||
const CAircraftModelList models = m_modelSet.getThreadLocal();
|
||||
const CAircraftModelList models = this->getModelSet();
|
||||
for (const auto &model : models)
|
||||
{
|
||||
const QString &modelFile = model.getFileName();
|
||||
|
||||
Reference in New Issue
Block a user