diff --git a/ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp b/ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp index e009dc493c..0da528cc5b 100644 --- a/ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp +++ b/ApplicationCode/ProjectDataModel/RimWellLogTrack.cpp @@ -1013,11 +1013,11 @@ void RimWellLogTrack::findFormationNamesToPlot(const CurveSamplingPointData& std::vector depthVector; - if (depthType == RimWellLogPlot::MEASURED_DEPTH) + if (depthType == RimWellLogPlot::MEASURED_DEPTH || depthType == RimWellLogPlot::PSEUDO_LENGTH) { depthVector = curveData.md; } - else + else if(depthType == RimWellLogPlot::TRUE_VERTICAL_DEPTH) { depthVector = curveData.tvd; }