#5486 Clear only well disk part manager, not other geometry

This commit is contained in:
Magne Sjaastad 2020-02-07 10:32:07 +01:00
parent 5dc883f1ca
commit 039e3d5c54

View File

@ -117,7 +117,7 @@ void RivReservoirSimWellsPartMgr::appendDynamicGeometryPartsToModel( cvf::ModelB
// Well disks // Well disks
if ( m_reservoirView->wellCollection()->wells.size() != m_wellDiskPartMgrs.size() ) if ( m_reservoirView->wellCollection()->wells.size() != m_wellDiskPartMgrs.size() )
{ {
clearGeometryCache(); m_wellDiskPartMgrs.clear();
for ( size_t i = 0; i < m_reservoirView->wellCollection()->wells.size(); ++i ) for ( size_t i = 0; i < m_reservoirView->wellCollection()->wells.size(); ++i )
{ {