#11088 Use non-optimized version for old projects to compute active cells BB

The performance to compute geometry BB for active cells has improved. The original code also set displayModelOffset based on the BB of active cells. To make sure that existing project files produce identically the the same, the non-optimized version is used in this case.
This commit is contained in:
Magne Sjaastad
2024-01-31 12:43:55 +01:00
parent 111eeb64b7
commit 5151717743
8 changed files with 97 additions and 13 deletions

View File

@@ -318,7 +318,7 @@ bool RimEclipseResultCase::openAndReadActiveCellData( RigEclipseCaseData* mainEc
CVF_ASSERT( eclipseCaseData() );
CVF_ASSERT( readerInterface.notNull() );
eclipseCaseData()->computeActiveCellBoundingBoxes();
computeActiveCellsBoundingBox();
m_activeCellInfoIsReadFromFile = true;