mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Ref T686 Adding check for model set before adding plane to FG.
This commit is contained in:
committed by
Mat Sutcliffe
parent
67b9e4f560
commit
680a663444
@@ -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