From cfb9eea3b69f75c2220d14c934ab282c1e4389a4 Mon Sep 17 00:00:00 2001
From: Matthias Betz <matthias.betz@hft-stuttgart.de>
Date: Tue, 18 Feb 2025 15:20:42 +0100
Subject: [PATCH] fix for clearing old triangulation data when loading new file

---
 public/run_sax.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/public/run_sax.js b/public/run_sax.js
index 6ee1b03..ec26442 100644
--- a/public/run_sax.js
+++ b/public/run_sax.js
@@ -553,6 +553,7 @@ input.addEventListener("change", function () {
     bbox = new BBox();
     setProgress(0);
     document.getElementById("progressDiv").style.removeProperty("display");
+    triangulatedPolygons = [];
     readSlice();
   }
 });
-- 
GitLab