mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Ref T35, optional model description when mapping
This commit is contained in:
committed by
Mathew Sutcliffe
parent
5687f5c176
commit
fad7d4b8c9
@@ -636,7 +636,8 @@ namespace BlackMisc
|
||||
CStatusMessageList msgs;
|
||||
if (!hasModelString()) { msgs.push_back(CStatusMessage(cats, CStatusMessage::SeverityError, "Model: missing model string (aka key)")); }
|
||||
if (!hasValidSimulator()) {msgs.push_back(CStatusMessage(cats, CStatusMessage::SeverityError, "Model: no simulator set")); }
|
||||
if (!hasDescription()) {msgs.push_back(CStatusMessage(cats, CStatusMessage::SeverityWarning, "Model: no description")); }
|
||||
// as of T34 made description optional, lines can be removed after 6/2017
|
||||
// if (!hasDescription()) {msgs.push_back(CStatusMessage(cats, CStatusMessage::SeverityWarning, "Model: no description")); }
|
||||
if (withNestedObjects)
|
||||
{
|
||||
msgs.push_back(m_aircraftIcao.validate());
|
||||
|
||||
Reference in New Issue
Block a user