mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1596 Merge dev into pre-proto
This commit is contained in:
@@ -991,7 +991,7 @@ void RimEclipseView::updateLegends()
|
||||
|
||||
if (this->cellEdgeResult()->hasCategoryResult())
|
||||
{
|
||||
if(cellEdgeResult()->singleVarEdgeResultColors()->resultType() != RimDefines::FORMATION_NAMES)
|
||||
if(cellEdgeResult()->singleVarEdgeResultColors()->resultType() != RiaDefines::FORMATION_NAMES)
|
||||
{
|
||||
cellEdgeResult()->legendConfig()->setIntegerCategories(results->uniqueCellScalarValues(cellEdgeResult()->singleVarEdgeResultColors()->scalarResultIndex()));
|
||||
}
|
||||
@@ -1042,7 +1042,7 @@ void RimEclipseView::updateMinMaxValuesAndAddLegendToView(QString legendLabel, R
|
||||
{
|
||||
RimReservoirCellResultsStorage* gridCellResults = resultColors->currentGridCellResults();
|
||||
{
|
||||
size_t scalarSetIndex = gridCellResults->findOrLoadScalarResult(RimDefines::DYNAMIC_NATIVE, "SOIL");
|
||||
size_t scalarSetIndex = gridCellResults->findOrLoadScalarResult(RiaDefines::DYNAMIC_NATIVE, "SOIL");
|
||||
if (scalarSetIndex != cvf::UNDEFINED_SIZE_T)
|
||||
{
|
||||
double globalMin = 0.0;
|
||||
@@ -1058,7 +1058,7 @@ void RimEclipseView::updateMinMaxValuesAndAddLegendToView(QString legendLabel, R
|
||||
}
|
||||
|
||||
{
|
||||
size_t scalarSetIndex = gridCellResults->findOrLoadScalarResult(RimDefines::DYNAMIC_NATIVE, "SGAS");
|
||||
size_t scalarSetIndex = gridCellResults->findOrLoadScalarResult(RiaDefines::DYNAMIC_NATIVE, "SGAS");
|
||||
if (scalarSetIndex != cvf::UNDEFINED_SIZE_T)
|
||||
{
|
||||
double globalMin = 0.0;
|
||||
@@ -1074,7 +1074,7 @@ void RimEclipseView::updateMinMaxValuesAndAddLegendToView(QString legendLabel, R
|
||||
}
|
||||
|
||||
{
|
||||
size_t scalarSetIndex = gridCellResults->findOrLoadScalarResult(RimDefines::DYNAMIC_NATIVE, "SWAT");
|
||||
size_t scalarSetIndex = gridCellResults->findOrLoadScalarResult(RiaDefines::DYNAMIC_NATIVE, "SWAT");
|
||||
if (scalarSetIndex != cvf::UNDEFINED_SIZE_T)
|
||||
{
|
||||
double globalMin = 0.0;
|
||||
@@ -1658,7 +1658,7 @@ void RimEclipseView::axisLabels(cvf::String* xLabel, cvf::String* yLabel, cvf::S
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimEclipseView::isUsingFormationNames() const
|
||||
{
|
||||
if ((cellResult()->resultType() == RimDefines::FORMATION_NAMES)) return true;
|
||||
if ((cellResult()->resultType() == RiaDefines::FORMATION_NAMES)) return true;
|
||||
|
||||
return eclipsePropertyFilterCollection()->isUsingFormationNames();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user