mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Ref T786, test code for the CSLOT crash
Can be removed if the issue is solved.
This commit is contained in:
committed by
Mat Sutcliffe
parent
e63129267d
commit
387d47ebf8
@@ -336,6 +336,7 @@ namespace BlackSimPlugin
|
||||
{
|
||||
m_lastWeatherPosition = currentPosition;
|
||||
requestWeatherGrid(currentPosition, this->identifier());
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -584,6 +585,12 @@ namespace BlackSimPlugin
|
||||
this->getOwnAircraftPosition();
|
||||
const CCoordinateGeodetic currentPosition = this->getOwnAircraftPosition();
|
||||
this->requestWeatherGrid(currentPosition, this->identifier());
|
||||
|
||||
// crashing version
|
||||
// kept for testing purposes
|
||||
// CWeatherGrid g(currentPosition);
|
||||
// this->requestWeatherGrid(g, { this, &CSimulatorEmulated::injectWeatherGrid});
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user