Ref T35, optional model description when mapping

This commit is contained in:
Klaus Basan
2017-04-23 22:24:12 +02:00
committed by Mathew Sutcliffe
parent 5687f5c176
commit fad7d4b8c9
3 changed files with 4 additions and 4 deletions

View File

@@ -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());