mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -05:00
Release preparations
* Adds a bounds check on the node index to prevent accessing invalid memory locations. This prevents potential crashes caused by out-of-bounds access when retrieving summary variable values. * Updates warning message for incomplete deltas * Plot based on a single realization from a file set ensemble is not restored correctly on project load * Populate result addresses if no addresses are present * Adds CNV_ (convergence) result name * Avoid include of RiaResultNames.h in header file
This commit is contained in:
1 parent
4d9a723e32
commit
4135a743fe
38 files changed
+327
-90
No files matched your search
@@ -25,6 +25,7 @@
|
||||
#include "RiaNumberFormat.h"
|
||||
#include "RiaNumericalTools.h"
|
||||
#include "RiaPreferences.h"
|
||||
#include "RiaResultNames.h"
|
||||
|
||||
#include "RimCellEdgeColors.h"
|
||||
#include "RimColorLegend.h"
|
||||
@@ -1221,7 +1222,7 @@ void RimRegularLegendConfig::setDefaultConfigForResultName( int caseId, const QS
|
||||
colorRangeType = RimRegularLegendConfig::ColorRangesType::NORMAL;
|
||||
}
|
||||
|
||||
if ( resultName.startsWith( "CNV_" ) )
|
||||
if ( resultName.startsWith( RiaResultNames::convergence() ) )
|
||||
{
|
||||
mappingType = MappingType::LINEAR_DISCRETE;
|
||||
rangeType = RimLegendConfig::RangeModeType::AUTOMATIC_ALLTIMESTEPS;
|
||||
|
||||
Reference in new issue
Block a user