Fixed inverted test for null pointer

p4#: 21127
This commit is contained in:
Magne Sjaastad
2013-04-04 12:08:36 +02:00
parent 4a8a24c433
commit cc8568cca6

View File

@@ -375,7 +375,7 @@ void RigCaseData::setActiveCellInfo(RifReaderInterface::PorosityModelResultType
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
void RigCaseData::computeActiveCellsGeometryBoundingBox() void RigCaseData::computeActiveCellsGeometryBoundingBox()
{ {
if (m_activeCellInfo.notNull() || m_fractureActiveCellInfo.notNull()) if (m_activeCellInfo.isNull() || m_fractureActiveCellInfo.isNull())
{ {
return; return;
} }