mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4186 Dual Porosity Model : Show dual porosity text in label and text in 3D view
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user