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

This commit is contained in:
Magne Sjaastad
2023-10-20 14:33:36 +02:00
parent 35d0be6b62
commit 12794f80f2
5 changed files with 7 additions and 26 deletions

View File

@@ -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()]++;