mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
refs #395, some functions renamed in network provider/context
Goal: consistent function names in own and remote aircraft provider
This commit is contained in:
committed by
Mathew Sutcliffe
parent
05be0ecb37
commit
1b9878fdd3
@@ -165,7 +165,7 @@ namespace BlackSimPlugin
|
||||
CAircraftModel aircraftModel = modelMatching(newRemoteAircraftCopy);
|
||||
Q_ASSERT_X(newRemoteAircraft.getCallsign() == aircraftModel.getCallsign(), Q_FUNC_INFO, "mismatching callsigns");
|
||||
this->updateAircraftModel(newRemoteAircraft.getCallsign(), aircraftModel, simulatorOriginator());
|
||||
CSimulatedAircraft aircraftAfterModelApplied(getAircraftForCallsign(newRemoteAircraft.getCallsign()));
|
||||
CSimulatedAircraft aircraftAfterModelApplied(getAircraftInRangeForCallsign(newRemoteAircraft.getCallsign()));
|
||||
aircraftAfterModelApplied.setRendered(true);
|
||||
emit modelMatchingCompleted(aircraftAfterModelApplied);
|
||||
|
||||
|
||||
@@ -336,7 +336,7 @@ namespace BlackSimPlugin
|
||||
{
|
||||
//! \todo XP implement isRenderedAircraft correctly
|
||||
// work around, but not really telling me if callsign is really(!) visible in SIM
|
||||
return getAircraftForCallsign(callsign).isRendered();
|
||||
return getAircraftInRangeForCallsign(callsign).isRendered();
|
||||
}
|
||||
|
||||
bool CSimulatorXPlane::updateOwnSimulatorCockpit(const BlackMisc::Aviation::CAircraft &aircraft, const QString &originator)
|
||||
|
||||
Reference in New Issue
Block a user