#4186 Dual Porosity Model : Show dual porosity text in label and text in 3D view

This commit is contained in:
Magne Sjaastad
2019-03-08 14:52:43 +01:00
parent 8382b5cfdd
commit 89b4279da2
3 changed files with 18 additions and 2 deletions

View File

@@ -1236,6 +1236,13 @@ void RimEclipseView::updateMinMaxValuesAndAddLegendToView(QString
title += QString("\n%1").arg(resultColors->diffResultUiShortName());
}
if (resultColors->hasDualPorFractureResult())
{
QString porosityModelText = caf::AppEnum<RiaDefines::PorosityModelType>::uiText(resultColors->porosityModel());
title += QString("\nDual Por : %1").arg(porosityModelText);
}
resultColors->legendConfig()->setTitle(title);
m_viewer->addColorLegendToBottomLeftCorner(resultColors->legendConfig()->titledOverlayFrame());
}