diff --git a/ApplicationCode/ProjectDataModel/Flow/RimWellAllocationPlot.cpp b/ApplicationCode/ProjectDataModel/Flow/RimWellAllocationPlot.cpp index b539bb7746..fae3b985bb 100644 --- a/ApplicationCode/ProjectDataModel/Flow/RimWellAllocationPlot.cpp +++ b/ApplicationCode/ProjectDataModel/Flow/RimWellAllocationPlot.cpp @@ -281,8 +281,11 @@ void RimWellAllocationPlot::updateFromWell() wfCalculator->tracerFlowPrPseudoLength(tracerName, brIdx)); } - addStackedCurve(tracerName, depthValues, *accFlow, plotTrack); - //TODO: THIs is the data to be plotted... + if (accFlow) + { + addStackedCurve(tracerName, depthValues, *accFlow, plotTrack); + // TODO: THIs is the data to be plotted... + } } }