Ref T232, aircraft can be re-added or removed via "dot-commands"

* can be used for testing
* utility functions to find inconsistent aircraft states
* reset highlight state
This commit is contained in:
Klaus Basan
2018-01-25 21:56:01 +01:00
parent 3ee5e68054
commit 897a6f301f
7 changed files with 140 additions and 28 deletions

View File

@@ -968,6 +968,7 @@ namespace BlackSimPlugin
{
// make sure they are not added again
// cleaning here is somewhat redundant, but double checks
this->resetHighlighting();
m_addPendingAircraft.clear();
m_addAgainAircraftWhenRemoved.clear();
@@ -978,7 +979,6 @@ namespace BlackSimPlugin
{
if (this->physicallyRemoveRemoteAircraft(cs)) { r++; }
}
this->clearAllRemoteAircraftData();
return r;
}