From 1a33a31a9f9baaa4670d2a6ff12d899b51f5c378 Mon Sep 17 00:00:00 2001
From: Filip Sykala - NTB T15p <Filip.Sykala@prusa3d.cz>
Date: Thu, 26 Jan 2023 16:42:41 +0100
Subject: [PATCH] Comment visualization in test

---
 tests/libslic3r/test_emboss.cpp | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/tests/libslic3r/test_emboss.cpp b/tests/libslic3r/test_emboss.cpp
index fb51fce5b..2d98b1d4d 100644
--- a/tests/libslic3r/test_emboss.cpp
+++ b/tests/libslic3r/test_emboss.cpp
@@ -216,20 +216,20 @@ ExPolygons heal_and_check(const Polygons &polygons)
     Pointfs intersections = intersection_points(shape);
     Points  shape_points  = to_points(shape);
     Points  duplicits     = collect_duplicates(shape_points);
-    {
-        BoundingBox bb(polygons_points);
-        // bb.scale(svg_scale);
-        SVG svg("C:/data/temp/test_visualization.svg", bb);
-        svg.draw(polygons, "gray"); // input
-        svg.draw(shape, "green"); // output
+    //{
+    //    BoundingBox bb(polygons_points);
+    //    // bb.scale(svg_scale);
+    //    SVG svg("C:/data/temp/test_visualization.svg", bb);
+    //    svg.draw(polygons, "gray"); // input
+    //    svg.draw(shape, "green"); // output
 
-        Points pts;
-        pts.reserve(intersections.size());
-        for (const Vec2d &intersection : intersections)
-            pts.push_back(intersection.cast<int>());
-        svg.draw(pts, "red", 10);
-        svg.draw(duplicits, "orenge", 10);
-    }
+    //    Points pts;
+    //    pts.reserve(intersections.size());
+    //    for (const Vec2d &intersection : intersections)
+    //        pts.push_back(intersection.cast<int>());
+    //    svg.draw(pts, "red", 10);
+    //    svg.draw(duplicits, "orenge", 10);
+    //}
 
     CHECK(intersections.empty());
     CHECK(duplicits.empty());