mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Hide grid mesh lines in contour map view
This commit is contained in:
@@ -171,6 +171,15 @@ bool RimGeoMechContourMapView::isTimeStepDependentDataVisible() const
|
||||
return true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimGeoMechContourMapView::setCompatibleDrawStyle()
|
||||
{
|
||||
surfaceMode = FAULTS;
|
||||
meshMode = RiaDefines::MeshModeType::NO_MESH;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -181,8 +190,7 @@ void RimGeoMechContourMapView::initAfterRead()
|
||||
m_gridCollection->setActive( false ); // This is also not added to the tree view, so cannot be enabled.
|
||||
disablePerspectiveProjectionField();
|
||||
setShowGridBox( false );
|
||||
meshMode.setValue( RiaDefines::MeshModeType::NO_MESH );
|
||||
surfaceMode.setValue( FAULTS );
|
||||
setCompatibleDrawStyle();
|
||||
scheduleCreateDisplayModelAndRedraw();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user