2025.04.0 Merge dev into main

This commit is contained in:
Magne Sjaastad committed 2025-04-07 12:21:57 +02:00
1 parent e9ec8cb718
commit f96374a6b4
969 files changed
+40872 -31569

No files matched your search

@@ -1194,9 +1194,16 @@ void RimPlotCurve::detach( bool deletePlotCurve )
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimPlotCurve::reattach()
void RimPlotCurve::reattach( bool updateParentPlot )
{
if ( m_parentPlot && canCurveBeAttached() ) attach( m_parentPlot );
if ( m_parentPlot && canCurveBeAttached() )
{
setParentPlotNoReplot( m_parentPlot );
if ( updateParentPlot )
{
m_parentPlot->replot();
}
}
}
//--------------------------------------------------------------------------------------------------