mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix bbox invalid assert in RiuViewer in debug build
This commit is contained in:
@@ -188,7 +188,8 @@ void RivGridBoxGenerator::setGridBoxDomainCoordBoundingBox( const cvf::BoundingB
|
||||
expandedBB.add( min );
|
||||
expandedBB.add( max );
|
||||
|
||||
if ( m_domainCoordsBoundingBox.min() != expandedBB.min() || m_domainCoordsBoundingBox.max() != expandedBB.max() )
|
||||
if ( !m_domainCoordsBoundingBox.isValid() || m_domainCoordsBoundingBox.min() != expandedBB.min() ||
|
||||
m_domainCoordsBoundingBox.max() != expandedBB.max() )
|
||||
{
|
||||
m_needsRegeneration = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user