Skip to content

Commit

Permalink
Revert "Make sure intersection calculations are done before legend up…
Browse files Browse the repository at this point in the history
…date"

This reverts commit a099782.
  • Loading branch information
magnesj committed Sep 24, 2024
1 parent e1864bf commit 19354ac
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ApplicationLibCode/ProjectDataModel/RimEclipseView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1632,12 +1632,6 @@ void RimEclipseView::updateLegendRangesTextAndVisibility( RimRegularLegendConfig
RimEclipseResultDefinition* eclResultDef,
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 );

if ( eclResultDef->hasResult() && legendConfig->showLegend() )
Expand Down

0 comments on commit 19354ac

Please sign in to comment.