mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor: Make a copy of histogram data.
This commit is contained in:
@@ -862,7 +862,7 @@ void Rim3dOverlayInfoConfig::updateEclipse3DInfo( RimEclipseView* eclipseView )
|
||||
if ( isResultsInfoRelevant && histData.isHistogramVectorValid() )
|
||||
{
|
||||
eclipseView->viewer()->showHistogram( true );
|
||||
eclipseView->viewer()->setHistogram( histData.min, histData.max, *histData.histogram );
|
||||
eclipseView->viewer()->setHistogram( histData.min, histData.max, histData.histogram );
|
||||
eclipseView->viewer()->setHistogramPercentiles( histData.p10, histData.p90, histData.mean );
|
||||
}
|
||||
}
|
||||
@@ -911,7 +911,7 @@ void Rim3dOverlayInfoConfig::updateGeoMech3DInfo( RimGeoMechView* geoMechView )
|
||||
if ( isResultsInfoRelevant && histData.isHistogramVectorValid() )
|
||||
{
|
||||
geoMechView->viewer()->showHistogram( true );
|
||||
geoMechView->viewer()->setHistogram( histData.min, histData.max, *histData.histogram );
|
||||
geoMechView->viewer()->setHistogram( histData.min, histData.max, histData.histogram );
|
||||
geoMechView->viewer()->setHistogramPercentiles( histData.p10, histData.p90, histData.mean );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user