mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Hide fault labels when fault collection is disabled
This commit is contained in:
1 parent
f0c0df2efa
commit
c3cd245ffa
1 file changed
+1
-2
@@ -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