Read multiple FAULTS keywords

A list of files are cached in the project file. When reading faults from
these files, make sure multiple FAULTS keywords in the same file is
parsed.
This commit is contained in:
Magne Sjaastad
2014-01-03 09:44:13 +01:00
parent 1a83008e39
commit 3e6954d7f5
4 changed files with 22 additions and 8 deletions

View File

@@ -75,6 +75,13 @@ void CellRange::setRange(const cvf::Vec3st& min, const cvf::Vec3st& max)
m_min = min;
m_max = max;
CVF_ASSERT(m_min.x() != cvf::UNDEFINED_SIZE_T);
CVF_ASSERT(m_min.y() != cvf::UNDEFINED_SIZE_T);
CVF_ASSERT(m_min.z() != cvf::UNDEFINED_SIZE_T);
CVF_ASSERT(m_max.x() != cvf::UNDEFINED_SIZE_T);
CVF_ASSERT(m_max.y() != cvf::UNDEFINED_SIZE_T);
CVF_ASSERT(m_max.z() != cvf::UNDEFINED_SIZE_T);
CVF_ASSERT(normalize());
}