mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3558 Grid items in Project Tree : Use main grid to control fault visibility
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user