mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 15:26:48 -06:00
Fix crash in fracture model plot.
The parent of RimWellLogTrack can also be a RimDepthTrackPlot.
This commit is contained in:
parent
bb8612c6a6
commit
1dd5cc65bc
@ -2352,7 +2352,7 @@ void RimWellLogTrack::updateStackedCurveData()
|
|||||||
{
|
{
|
||||||
const double eps = 1.0e-8;
|
const double eps = 1.0e-8;
|
||||||
|
|
||||||
RimWellLogPlot* wellLogPlot;
|
RimDepthTrackPlot* wellLogPlot;
|
||||||
firstAncestorOrThisOfTypeAsserted( wellLogPlot );
|
firstAncestorOrThisOfTypeAsserted( wellLogPlot );
|
||||||
|
|
||||||
RimWellLogPlot::DepthTypeEnum depthType = wellLogPlot->depthType();
|
RimWellLogPlot::DepthTypeEnum depthType = wellLogPlot->depthType();
|
||||||
|
Loading…
Reference in New Issue
Block a user