mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-02 15:15:39 +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)
|
void ISimulationEnvironmentProvider::setSimulationProviderEnabled(bool elvEnabled, bool cgEnabled)
|
||||||
{
|
{
|
||||||
QWriteLocker l(&m_lockElvCoordinates);
|
setElevationProviderEnabled(elvEnabled);
|
||||||
m_enableElevation = elvEnabled;
|
setCgProviderEnabled(cgEnabled);
|
||||||
m_enableCG = cgEnabled;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ISimulationEnvironmentProvider::setNewPluginInfo(const CSimulatorPluginInfo &info, const CAircraftModel &defaultModel)
|
void ISimulationEnvironmentProvider::setNewPluginInfo(const CSimulatorPluginInfo &info, const CAircraftModel &defaultModel)
|
||||||
|
|||||||
Reference in New Issue
Block a user