Release 2023.06

This commit is contained in:
Magne Sjaastad
2023-06-19 13:48:44 +02:00
committed by GitHub
parent a7108f0a09
commit 77bf792b1a
1390 changed files with 66974 additions and 11511 deletions

View File

@@ -44,8 +44,7 @@ bool RicClearSourceSteppingEnsembleCurveSetFeature::isCommandEnabled()
{
auto c = objects[0];
RimSummaryPlot* summaryPlot = nullptr;
c->firstAncestorOrThisOfTypeAsserted( summaryPlot );
auto summaryPlot = c->firstAncestorOrThisOfTypeAsserted<RimSummaryPlot>();
if ( summaryPlot )
{
if ( summaryPlot->ensembleCurveSetCollection()->curveSetForSourceStepping() ||
@@ -71,8 +70,7 @@ void RicClearSourceSteppingEnsembleCurveSetFeature::onActionTriggered( bool isCh
{
auto c = objects[0];
RimSummaryPlot* summaryPlot = nullptr;
c->firstAncestorOrThisOfType( summaryPlot );
auto summaryPlot = c->firstAncestorOrThisOfType<RimSummaryPlot>();
if ( summaryPlot )
{
clearAllSourceSteppingInSummaryPlot( summaryPlot );