mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Hide fault labels when fault collection is disabled
This commit is contained in:
@@ -185,8 +185,7 @@ void RivReservoirFaultsPartMgr::appendLabelPartsToModel(cvf::ModelBasicList* mod
|
||||
|
||||
if (!m_faultCollection) return;
|
||||
|
||||
bool isShowingGrid = m_faultCollection->isGridVisualizationMode();
|
||||
if (!m_faultCollection->showFaultCollection() && !isShowingGrid) return;
|
||||
if (!m_faultCollection->showFaultCollection()) return;
|
||||
|
||||
if (!m_faultCollection->showFaultLabel() ) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user