mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#396) untangled Geomech Result Definition from the use of GeoMechView
In order to reuse the RimGeoMechResultDefinition in the curve data.
This commit is contained in:
@@ -81,7 +81,7 @@ RimGeoMechView::RimGeoMechView(void)
|
||||
m_propertyFilterCollection = new RimGeoMechPropertyFilterCollection();
|
||||
m_propertyFilterCollection.uiCapability()->setUiHidden(true);
|
||||
|
||||
this->cellResult()->setReservoirView(this);
|
||||
//this->cellResult()->setReservoirView(this);
|
||||
this->cellResult()->legendConfig()->setReservoirView(this);
|
||||
|
||||
m_scaleTransform = new cvf::Transform();
|
||||
@@ -362,6 +362,8 @@ void RimGeoMechView::updateDisplayModelVisibility()
|
||||
void RimGeoMechView::setGeoMechCase(RimGeoMechCase* gmCase)
|
||||
{
|
||||
m_geomechCase = gmCase;
|
||||
cellResult()->setGeoMechCase(gmCase);
|
||||
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -494,7 +496,7 @@ void RimGeoMechView::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimGeoMechView::initAfterRead()
|
||||
{
|
||||
this->cellResult()->setReservoirView(this);
|
||||
this->cellResult()->setGeoMechCase(m_geomechCase);
|
||||
|
||||
this->updateUiIconFromToggleField();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user