#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:
Kristian Bendiksen authored and GitHub committed 2022-11-24 10:39:46 +01:00
1 parent 5847547d81
commit 4345cb3a70
3 files changed
+7 -3

No files matched your search

@@ -240,6 +240,7 @@ void RimEclipseContourMapView::onUpdateDisplayModelForCurrentTimeStep()
{
static_cast<RimEclipsePropertyFilterCollection*>( nativePropertyFilterCollection() )->updateFromCurrentTimeStep();
m_contourMapProjection->clearGeometry();
updateGeometry();
}