From 333c6427a9b1e03c9e48e1eb6c8d27cfffbf7a9d Mon Sep 17 00:00:00 2001 From: magnesj Date: Thu, 12 Oct 2023 12:10:59 +0000 Subject: [PATCH] Fixes by clang-format --- ApplicationLibCode/Application/RiaGuiApplication.cpp | 2 ++ .../ProjectDataModel/Summary/RimSummaryCurveCollection.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ApplicationLibCode/Application/RiaGuiApplication.cpp b/ApplicationLibCode/Application/RiaGuiApplication.cpp index 8ff3fddffad..295420acbfa 100644 --- a/ApplicationLibCode/Application/RiaGuiApplication.cpp +++ b/ApplicationLibCode/Application/RiaGuiApplication.cpp @@ -952,6 +952,7 @@ void RiaGuiApplication::createMainWindow() { CVF_ASSERT( m_mainWindow == nullptr ); + // Always enable undo/redo framework, as multi-select operations perform significantly better with it enabled caf::CmdExecCommandManager::instance()->enableUndoCommandSystem( true ); m_mainWindow = new RiuMainWindow; @@ -977,6 +978,7 @@ void RiaGuiApplication::createMainPlotWindow() { CVF_ASSERT( m_mainPlotWindow == nullptr ); + // Always enable undo/redo framework, as multi-select operations perform significantly better with it enabled caf::CmdExecCommandManager::instance()->enableUndoCommandSystem( true ); m_mainPlotWindow = std::make_unique(); diff --git a/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryCurveCollection.cpp b/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryCurveCollection.cpp index 42cef4ca571..c9616ac5694 100644 --- a/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryCurveCollection.cpp +++ b/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryCurveCollection.cpp @@ -130,7 +130,6 @@ void RimSummaryCurveCollection::onChildrenUpdated( caf::PdmChildArrayFieldHandle { if ( auto curve = dynamic_cast( obj ) ) { - curve->updateCurveAppearance(); } }