mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
#14903: Guard well and fracture display against missing case data
This commit is contained in:
1 parent
9ac6ad3bec
commit
fb00f84cee
1 file changed
+2
@@ -1164,6 +1164,8 @@ void RimEclipseView::updateVisibleCellColors()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseView::appendWellsAndFracturesToModel()
|
||||
{
|
||||
if ( !( eclipseCase() && eclipseCase()->eclipseCaseData() ) ) return;
|
||||
|
||||
if ( nativeOrOverrideViewer() )
|
||||
{
|
||||
cvf::Scene* frameScene = nativeOrOverrideViewer()->frame( m_currentTimeStep, isUsingOverrideViewer() );
|
||||
|
||||
Reference in new issue
Block a user