mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8362 Simulations wells: Fix crash on show spheres.
This commit is contained in:
committed by
Magne Sjaastad
parent
fda4d1d608
commit
be7783776c
@@ -109,9 +109,11 @@ void RivWellSpheresPartMgr::appendDynamicGeometryPartsToModel( cvf::ModelBasicLi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cvf::ref<cvf::Part> part = createPart( centerColorPairs, wellResultFrame->m_isOpen );
|
if ( !centerColorPairs.empty() )
|
||||||
|
{
|
||||||
model->addPart( part.p() );
|
cvf::ref<cvf::Part> part = createPart( centerColorPairs, wellResultFrame->m_isOpen );
|
||||||
|
model->addPart( part.p() );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user