Area Fill: Fix are fill issue related to stacking of curves

This commit is contained in:
Magne Sjaastad committed 2023-10-20 15:43:18 +02:00
1 parent 35d0be6b62
commit 12794f80f2
5 files changed
+7 -26

No files matched your search

@@ -1831,12 +1831,6 @@ bool RimSummaryPlot::updateStackedCurveDataForAxis( RiuPlotAxis plotAxis )
std::map<RiaDefines::PhaseType, size_t> curvePhaseCount;
for ( RimSummaryCurve* curve : stackedCurves )
{
// Apply a area filled style if it isn't already set
if ( curve->fillStyle() == Qt::NoBrush )
{
curve->setFillStyle( Qt::SolidPattern );
}
curve->loadDataAndUpdate( false );
curvePhaseCount[curve->phaseType()]++;