Ref T275, Ref T280, avoid nan (not a number) values in PQs/elevation

This commit is contained in:
Klaus Basan
2018-06-20 00:53:12 +02:00
parent d99a7639e8
commit fc1a2bbb0f
5 changed files with 41 additions and 9 deletions

View File

@@ -311,6 +311,7 @@ namespace BlackMisc
}
// check if model has been thru model matching
Q_ASSERT_X(!m_lastSituation.isNull(), Q_FUNC_INFO, "null situations");
parts.guessParts(m_lastSituation, m_pastSituationsChange, m_model);
this->logParts(parts, 0, false);
}