mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Faults: Always show faults when showing Grid
Always show the faults parts when showing the grid in the "normal" way. If we do not, there will be holes in the model.
This commit is contained in:
@@ -192,3 +192,14 @@ void RimFaultCollection::syncronizeFaults()
|
||||
this->faults().insert(0, newFaults);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimFaultCollection::isGridVisualizationMode() const
|
||||
{
|
||||
CVF_ASSERT(m_reservoirView);
|
||||
|
||||
return ( m_reservoirView->surfaceMode() == RimReservoirView::SURFACE
|
||||
|| m_reservoirView->meshMode() == RimReservoirView::FULL_MESH);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,6 +47,8 @@ public:
|
||||
void setReservoirView(RimReservoirView* ownerReservoirView);
|
||||
void syncronizeFaults();
|
||||
|
||||
bool isGridVisualizationMode() const;
|
||||
|
||||
caf::PdmField<bool> showGeometryDetectedFaults; // Obsolete, to be removed
|
||||
|
||||
caf::PdmField<bool> showFaultFaces;
|
||||
|
||||
Reference in New Issue
Block a user