mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Show matrix/fracture selection only for models with fracture results
p4#: 20376
This commit is contained in:
parent
cf5aa3e882
commit
3e4b0520d4
@ -696,6 +696,11 @@ void RimReservoirView::loadDataAndUpdate()
|
||||
CVF_ASSERT(this->cellResult() != NULL);
|
||||
this->cellResult()->loadResult();
|
||||
|
||||
if (m_reservoir->reservoirData()->mainGrid()->globalFractureModelActiveCellCount() == 0)
|
||||
{
|
||||
this->cellResult->porosityModel.setUiHidden(true);
|
||||
}
|
||||
|
||||
CVF_ASSERT(this->cellEdgeResult() != NULL);
|
||||
this->cellEdgeResult()->loadResult();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user