mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 23:05:34 +08:00
Ref T650, using FSX SimulatedObject type decrease exeption counter when successfully added
* normally adding the SimObject fails first, * then the workaround is used (but exception counter is 1) * this means a 2nd time the object cannot be changed, as there is already a counter number > 0
This commit is contained in:
committed by
Mat Sutcliffe
parent
7e4ba2d1cf
commit
c1ffad33bd
@@ -250,6 +250,9 @@ namespace BlackSimPlugin
|
||||
//! Increase adding exception
|
||||
void increaseAddingExceptions() { m_addingExceptions++; }
|
||||
|
||||
//! Decrease adding exception
|
||||
void decreaseAddingExceptions() { if (m_addingExceptions > 0) { m_addingExceptions--; } ; }
|
||||
|
||||
//! Adding and directly removed
|
||||
int getAddingDirectlyRemoved() const { return m_addingDirectlyRemoved; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user