mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5323 Well Connection Factor : Update legend range for NAN values
This commit is contained in:
parent
16f3108e64
commit
ccb1d95e72
@ -1905,13 +1905,10 @@ void RimEclipseView::updateVirtualConnectionLegendRanges()
|
||||
|
||||
virtualTransmissibilities->computeMinMax( &minValue, &maxValue, &posClosestToZero, &negClosestToZero );
|
||||
|
||||
if ( minValue != HUGE_VAL )
|
||||
{
|
||||
RimRegularLegendConfig* legendConfig = virtualPerforationResult()->legendConfig();
|
||||
RimRegularLegendConfig* legendConfig = virtualPerforationResult()->legendConfig();
|
||||
|
||||
legendConfig->setAutomaticRanges( minValue, maxValue, minValue, maxValue );
|
||||
legendConfig->setClosestToZeroValues( posClosestToZero, negClosestToZero, posClosestToZero, negClosestToZero );
|
||||
}
|
||||
legendConfig->setAutomaticRanges( minValue, maxValue, minValue, maxValue );
|
||||
legendConfig->setClosestToZeroValues( posClosestToZero, negClosestToZero, posClosestToZero, negClosestToZero );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user