mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#9464 contour plot crash on legend levels change
The geometry was not properly cleared when on legend changed, and would lead to crash when number of legend levels decreased. Janitor: Fix two crashes when loading repro case
This commit is contained in:
committed by
GitHub
parent
5847547d81
commit
4345cb3a70
@@ -240,6 +240,7 @@ void RimEclipseContourMapView::onUpdateDisplayModelForCurrentTimeStep()
|
||||
{
|
||||
static_cast<RimEclipsePropertyFilterCollection*>( nativePropertyFilterCollection() )->updateFromCurrentTimeStep();
|
||||
|
||||
m_contourMapProjection->clearGeometry();
|
||||
updateGeometry();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user