mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-06 02:16:04 +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
|
bool CSimulatorFlightgear::canAddAircraft() const
|
||||||
{
|
{
|
||||||
|
if (this->getModelSet().isEmpty()) { return false; }
|
||||||
if (m_addingInProgressAircraft.isEmpty()) { return true; }
|
if (m_addingInProgressAircraft.isEmpty()) { return true; }
|
||||||
|
|
||||||
// check
|
// check
|
||||||
|
|||||||
Reference in New Issue
Block a user