mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Revert "Make sure intersection calculations are done before legend update"
This reverts commit a0997821c6.
This commit is contained in:
@@ -1632,12 +1632,6 @@ void RimEclipseView::updateLegendRangesTextAndVisibility( RimRegularLegendConfig
|
|||||||
RimEclipseResultDefinition* eclResultDef,
|
RimEclipseResultDefinition* eclResultDef,
|
||||||
int timeStepIndex )
|
int timeStepIndex )
|
||||||
{
|
{
|
||||||
// Call appendIntersectionsForCurrentTimeStep() is required to get the intersected cells. If the legend to update should list visible
|
|
||||||
// categories, the intersection geometry defines the intersected cells. These cells are then used to extract all category values, and
|
|
||||||
// find unique values. appendIntersectionsForCurrentTimeStep() is now called twice, and this could potentially be a performance issue
|
|
||||||
// for very large models.
|
|
||||||
appendIntersectionsForCurrentTimeStep();
|
|
||||||
|
|
||||||
eclResultDef->updateRangesForExplicitLegends( legendConfig, ternaryLegendConfig, timeStepIndex );
|
eclResultDef->updateRangesForExplicitLegends( legendConfig, ternaryLegendConfig, timeStepIndex );
|
||||||
|
|
||||||
if ( eclResultDef->hasResult() && legendConfig->showLegend() )
|
if ( eclResultDef->hasResult() && legendConfig->showLegend() )
|
||||||
|
|||||||
Reference in New Issue
Block a user