mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-04 13:16:56 -06:00
Performance : Skip loading results for inactive property filters
This commit is contained in:
1 parent
25b45fb8fc
commit
41e9f0169a
2 files changed
+7
-2
No files matched your search
@@ -72,8 +72,11 @@ void RimEclipsePropertyFilterCollection::loadAndInitializePropertyFilters()
|
||||
RimEclipsePropertyFilter* propertyFilter = propertyFilters[i];
|
||||
propertyFilter->resultDefinition->setEclipseCase(reservoirView()->eclipseCase());
|
||||
propertyFilter->initAfterRead();
|
||||
propertyFilter->resultDefinition->loadResult();
|
||||
propertyFilter->computeResultValueRange();
|
||||
if (isActive() && propertyFilter->isActive())
|
||||
{
|
||||
propertyFilter->resultDefinition->loadResult();
|
||||
propertyFilter->computeResultValueRange();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user