mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Ref T546 Fixed mistake with locking the correct mutexes.
This commit is contained in:
@@ -331,9 +331,8 @@ namespace BlackMisc
|
||||
|
||||
void ISimulationEnvironmentProvider::setSimulationProviderEnabled(bool elvEnabled, bool cgEnabled)
|
||||
{
|
||||
QWriteLocker l(&m_lockElvCoordinates);
|
||||
m_enableElevation = elvEnabled;
|
||||
m_enableCG = cgEnabled;
|
||||
setElevationProviderEnabled(elvEnabled);
|
||||
setCgProviderEnabled(cgEnabled);
|
||||
}
|
||||
|
||||
void ISimulationEnvironmentProvider::setNewPluginInfo(const CSimulatorPluginInfo &info, const CAircraftModel &defaultModel)
|
||||
|
||||
Reference in New Issue
Block a user