From 1bb48153bb67859e5004d1193fede098bf00cf85 Mon Sep 17 00:00:00 2001 From: selomac Date: Fri, 3 Apr 2026 23:16:21 +0300 Subject: [PATCH] clear m_stop_vertices unconditionally in set_stop_conditions --- src/surface/exact_geodesics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surface/exact_geodesics.cpp b/src/surface/exact_geodesics.cpp index e34237e1..6b126962 100644 --- a/src/surface/exact_geodesics.cpp +++ b/src/surface/exact_geodesics.cpp @@ -1343,8 +1343,8 @@ IntervalList GeodesicAlgorithmExact::getEdgeIntervals(Edge e) const { return m_e void GeodesicAlgorithmExact::set_stop_conditions(const std::vector& stop_points, double stop_distance) { m_max_propagation_distance = stop_distance; + m_stop_vertices.clear(); if (stop_points.empty()) { - m_stop_vertices.clear(); return; }