Add [BETA] as postfix to user interface

Add postfix to SUMO and OSDU cloud import features.
This commit is contained in:
Magne Sjaastad
2024-08-26 13:51:26 +02:00
parent a89fe80de3
commit 0fd27a3a8d
6 changed files with 23 additions and 5 deletions

View File

@@ -1475,7 +1475,12 @@ int RimContextCommandBuilder::appendImportMenu( caf::CmdFeatureMenuBuilder& menu
candidates << "RicImportWellLogCsvFileFeature";
candidates << "RicReloadWellPathFormationNamesFeature";
if ( addOsduImportMenuItem ) candidates << "RicImportWellLogOsduFeature";
// Import of well logs from OSDU is disabled by default. The quality of well log data from OSDU is not sufficient for effective
// use. The environment variable RESINSIGHT_DEVEL must be set to enable this feature.
if ( addOsduImportMenuItem && RiaApplication::enableDevelopmentFeatures() )
{
candidates << "RicImportWellLogOsduFeature";
}
return appendSubMenuWithCommands( menuBuilder, candidates, "Import", QIcon(), addSeparatorBeforeMenu );
}