#8362 Simulations wells: Fix crash on show spheres.

This commit is contained in:
Kristian Bendiksen
2022-03-25 15:26:37 +01:00
committed by Magne Sjaastad
parent fda4d1d608
commit be7783776c

View File

@@ -109,10 +109,12 @@ void RivWellSpheresPartMgr::appendDynamicGeometryPartsToModel( cvf::ModelBasicLi
}
}
if ( !centerColorPairs.empty() )
{
cvf::ref<cvf::Part> part = createPart( centerColorPairs, wellResultFrame->m_isOpen );
model->addPart( part.p() );
}
}
//--------------------------------------------------------------------------------------------------
///