From 1dd5cc65bc467a4f6fcc3c2499d58c842bf27f01 Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Wed, 5 Aug 2020 13:53:25 +0200 Subject: [PATCH] Fix crash in fracture model plot. The parent of RimWellLogTrack can also be a RimDepthTrackPlot. --- ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp b/ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp index 052941a639..803bcabd24 100644 --- a/ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp +++ b/ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp @@ -2352,7 +2352,7 @@ void RimWellLogTrack::updateStackedCurveData() { const double eps = 1.0e-8; - RimWellLogPlot* wellLogPlot; + RimDepthTrackPlot* wellLogPlot; firstAncestorOrThisOfTypeAsserted( wellLogPlot ); RimWellLogPlot::DepthTypeEnum depthType = wellLogPlot->depthType();