(#401) Result colors now updated on "Visible cells"-overridden Eclipse cases

This commit is contained in:
Jacob Støren
2015-09-21 09:10:50 +02:00
parent 2604e01ddc
commit 22d033669d
3 changed files with 12 additions and 5 deletions

View File

@@ -581,7 +581,11 @@ void RimEclipseView::updateCurrentTimeStep()
geometriesToRecolor.push_back(RANGE_FILTERED);
geometriesToRecolor.push_back(RANGE_FILTERED_WELL_CELLS);
}
else
else if (this->controllingViewLink() && this->controllingViewLink()->syncVisibleCells())
{
geometriesToRecolor.push_back(OVERRIDDEN_CELL_VISIBILITY);
}
else
{
geometriesToRecolor.push_back(ACTIVE);
geometriesToRecolor.push_back(ALL_WELL_CELLS);
@@ -1310,8 +1314,11 @@ void RimEclipseView::updateFaultForcedVisibility()
std::vector<RivCellSetEnum> RimEclipseView::visibleFaultGeometryTypes() const
{
std::vector<RivCellSetEnum> faultParts;
if (this->propertyFilterCollection()->hasActiveFilters() && !faultCollection()->showFaultsOutsideFilters())
if (this->controllingViewLink() && this->controllingViewLink()->syncVisibleCells())
{
faultParts.push_back(OVERRIDDEN_CELL_VISIBILITY);
}
else if (this->propertyFilterCollection()->hasActiveFilters() && !faultCollection()->showFaultsOutsideFilters())
{
faultParts.push_back(PROPERTY_FILTERED);
faultParts.push_back(PROPERTY_FILTERED_WELL_CELLS);