mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T723 [xswiftbus] Expose configuration for render phase debug messages
This commit is contained in:
@@ -36,6 +36,11 @@ namespace BlackMisc
|
||||
|
||||
}
|
||||
|
||||
void CXSwiftBusConfigWriter::setDebugMode(bool on)
|
||||
{
|
||||
m_debug = on;
|
||||
}
|
||||
|
||||
void CXSwiftBusConfigWriter::updateInAllXPlaneVersions()
|
||||
{
|
||||
updateInXPlane9();
|
||||
@@ -77,6 +82,9 @@ namespace BlackMisc
|
||||
ts << endl;
|
||||
ts << "# DBus server port - relevant for P2P mode only" << endl;
|
||||
ts << "dbusPort = " << m_dbusPort << endl;
|
||||
ts << endl;
|
||||
ts << "# Render phase debugging - to help diagnose crashes" << endl;
|
||||
ts << "debug = " << boolToOnOff(m_debug) << endl;
|
||||
}
|
||||
}
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user