mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
fixup! Ref T709, also log model name (so we can see if a particular model causes a crash)
This commit is contained in:
@@ -995,7 +995,7 @@ namespace XSwiftBus
|
|||||||
double lxMeters = 0, lyMeters = 0, lzMeters = 0; // normally init not needed, just to avoid any issues
|
double lxMeters = 0, lyMeters = 0, lzMeters = 0; // normally init not needed, just to avoid any issues
|
||||||
static const double kFtToMeters = 0.3048;
|
static const double kFtToMeters = 0.3048;
|
||||||
|
|
||||||
std::string modelName;
|
std::string modelName = "unknown";
|
||||||
if (traffic->m_followPlaneViewCallsign == CTraffic::ownAircraftString())
|
if (traffic->m_followPlaneViewCallsign == CTraffic::ownAircraftString())
|
||||||
{
|
{
|
||||||
lxMeters = traffic->m_ownAircraftPositionX.get();
|
lxMeters = traffic->m_ownAircraftPositionX.get();
|
||||||
|
|||||||
Reference in New Issue
Block a user