From dc2654af9872a42c5ccdaa6a9db78a0124ba2758 Mon Sep 17 00:00:00 2001 From: jonjenssen Date: Mon, 25 Sep 2023 18:31:20 +0200 Subject: [PATCH] Fix corrupted section when switching seismic data input --- .../ProjectDataModel/Seismic/RimSeismicSection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ApplicationLibCode/ProjectDataModel/Seismic/RimSeismicSection.cpp b/ApplicationLibCode/ProjectDataModel/Seismic/RimSeismicSection.cpp index 9c89a1fe37..6f66b1cd5c 100644 --- a/ApplicationLibCode/ProjectDataModel/Seismic/RimSeismicSection.cpp +++ b/ApplicationLibCode/ProjectDataModel/Seismic/RimSeismicSection.cpp @@ -758,6 +758,7 @@ void RimSeismicSection::fieldChangedByUi( const caf::PdmFieldHandle* changedFiel m_seismicData->legendConfig()->changed.connect( this, &RimSeismicSection::onLegendConfigChanged ); updateType = RigTexturedSection::WhatToUpdateEnum::UPDATE_ALL; + m_wellPathPoints.clear(); } else if ( ( changedField == &m_type ) || ( changedField == &m_targets ) || ( changedField == &m_depthIndex ) || ( changedField == &m_inlineIndex ) || ( changedField == &m_xlineIndex ) || changedField == &m_zFilterType ||