#3558 Grid items in Project Tree : Use main grid to control fault visibility

This commit is contained in:
Magne Sjaastad
2018-10-29 11:23:06 +01:00
parent a424546e7c
commit d353cfb8ec
3 changed files with 16 additions and 1 deletions

View File

@@ -101,7 +101,7 @@ void RivReservoirFaultsPartMgr::appendPartsToModel(cvf::ModelBasicList* model)
if (!faultCollection) return;
bool isShowingGrid = faultCollection->isGridVisualizationMode();
bool isShowingGrid = m_reservoirView->isMainGridVisible();
if (!faultCollection->showFaultCollection() && !isShowingGrid) return;
// Check match between model fault count and fault parts