mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Remove livery from displayed model
As FG cannot send livery data this is unnecessary.
This commit is contained in:
committed by
Mat Sutcliffe
parent
8a4a346c83
commit
68f7ba6691
@@ -403,7 +403,7 @@ namespace BlackSimPlugin
|
||||
const QString &icao, const QString &modelString, const QString &name, const QString &description)
|
||||
{
|
||||
CAircraftModel model(modelString, CAircraftModel::TypeOwnSimulatorModel, CSimulatorInfo::XPLANE, name, description, icao);
|
||||
if (!livery.isEmpty()) { model.setModelString(model.getModelString() + " " + livery); }
|
||||
if (!livery.isEmpty()) { model.setModelString(model.getModelString()); }
|
||||
model.setFileName(path + "/" + filename);
|
||||
|
||||
this->reverseLookupAndUpdateOwnAircraftModel(model);
|
||||
|
||||
Reference in New Issue
Block a user