mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
#5486 Clear only well disk part manager, not other geometry
This commit is contained in:
parent
5dc883f1ca
commit
039e3d5c54
@ -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 )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user