From cd1547f573de82688328e93d26e9f7fcce775432 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Sat, 17 Feb 2024 00:20:05 -0600 Subject: [PATCH] When starting a new set of linked vectors, the vector list must be cleared --- scwx-qt/source/scwx/qt/gl/draw/linked_vectors.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scwx-qt/source/scwx/qt/gl/draw/linked_vectors.cpp b/scwx-qt/source/scwx/qt/gl/draw/linked_vectors.cpp index fad46a2a..6843477a 100644 --- a/scwx-qt/source/scwx/qt/gl/draw/linked_vectors.cpp +++ b/scwx-qt/source/scwx/qt/gl/draw/linked_vectors.cpp @@ -126,6 +126,7 @@ void LinkedVectors::StartVectors() { // Start a new set of geo lines p->geoLines_->StartLines(); + p->vectorList_.clear(); } std::shared_ptr LinkedVectors::AddVector(