mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Ref T686 Adding check for model set before adding plane to FG.
This commit is contained in:
committed by
Klaus Basan
parent
ff8aedd99b
commit
1837815f30
@@ -898,6 +898,7 @@ namespace BlackSimPlugin
|
||||
|
||||
bool CSimulatorFlightgear::canAddAircraft() const
|
||||
{
|
||||
if (this->getModelSet().isEmpty()) { return false; }
|
||||
if (m_addingInProgressAircraft.isEmpty()) { return true; }
|
||||
|
||||
// check
|
||||
|
||||
Reference in New Issue
Block a user