mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Ref T335, misc improvements in value objects
* allow to reset PBH for terrain probe * check for null altitude before converting * function isTerrainProbe for model/aircraft
This commit is contained in:
committed by
Roland Winklmeier
parent
916f2f6180
commit
651ead5b51
@@ -277,6 +277,9 @@ namespace BlackMisc
|
||||
//! Model type
|
||||
ModelType getModelType() const { return m_modelType; }
|
||||
|
||||
//! Terrain probe?
|
||||
bool isTerrainProbe() const { return m_modelType == TypeTerrainProbe; }
|
||||
|
||||
//! Model type
|
||||
const QString &getModelTypeAsString() const { return modelTypeToString(getModelType()); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user