From 399b59bfdc120d40a5fa626f815b5b9ecd934361 Mon Sep 17 00:00:00 2001 From: Dale Eason Date: Thu, 8 Jan 2026 18:39:10 -0600 Subject: [PATCH 1/2] update --- profilecurve.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/profilecurve.cpp b/profilecurve.cpp index 862e3612..e2f92338 100644 --- a/profilecurve.cpp +++ b/profilecurve.cpp @@ -4,6 +4,8 @@ #include #include #include +#include + // creates a curve of the profile and will highlight segments where the slope is violated if the user has that feature enabled. // uses the base class for most of the work. Overrides the actual painting of the line. @@ -24,10 +26,7 @@ void ProfileCurve::setSlopeSettings(bool show, double limit, int highlightWidth) m_highlightWidth = highlightWidth; } -#include // Ensure this is at the top of profilecurve.cpp -#include -#include void ProfileCurve::drawLines(QPainter *painter, const QwtScaleMap &xMap, From c48737456610c5f9ee7faeff351a78fb8bf66d0a Mon Sep 17 00:00:00 2001 From: Dale Eason Date: Sun, 11 Jan 2026 12:43:07 -0600 Subject: [PATCH 2/2] corrected average wave front name --- profileplot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profileplot.cpp b/profileplot.cpp index 7866119a..eb61f736 100644 --- a/profileplot.cpp +++ b/profileplot.cpp @@ -710,7 +710,7 @@ qDebug() << "Populate"; y_offset = m_waveFrontyOffsets[name]; else if (m_waveFrontyOffsets.contains(name + " avg")){ y_offset = m_waveFrontyOffsets[name + " avg"]; - qDebug() << "using avg"; + } // if show one angle @@ -1171,5 +1171,5 @@ void ProfilePlot::CreateWaveFrontFromAverage(){ sm->createSurfaceFromPhaseMap(result, m_wf->m_outside, m_wf->m_inside, - QString("avg"), WavefrontOrigin::Average); + QString(m_wf->name.replace(".wft","") + "_avg"), WavefrontOrigin::Average); }