Release 2025.09.0

This commit is contained in:
Magne Sjaastad authored and GitHub committed 2025-09-01 12:38:48 +02:00
1 parent c33402f5ea
commit 917136fec8
1053 files changed
+61952 -11833

No files matched your search

@@ -33,9 +33,7 @@ CAF_CMD_SOURCE_INIT( RicCreateSummaryEnsembleFeature, "RicCreateSummaryEnsembleF
//--------------------------------------------------------------------------------------------------
bool RicCreateSummaryEnsembleFeature::isCommandEnabled() const
{
std::vector<RimSummaryCase*> selection;
caf::SelectionManager::instance()->objectsByType( &selection );
const auto selection = caf::SelectionManager::instance()->objectsByType<RimSummaryCase>();
return !selection.empty();
}
@@ -44,8 +42,7 @@ bool RicCreateSummaryEnsembleFeature::isCommandEnabled() const
//--------------------------------------------------------------------------------------------------
void RicCreateSummaryEnsembleFeature::onActionTriggered( bool isChecked )
{
std::vector<RimSummaryCase*> selection;
caf::SelectionManager::instance()->objectsByType( &selection );
const auto selection = caf::SelectionManager::instance()->objectsByType<RimSummaryCase>();
if ( selection.empty() ) return;
RicImportEnsembleFeature::createSummaryEnsemble( selection );