From f5911c330f45e17da3116602ff84729034b357fe Mon Sep 17 00:00:00 2001 From: EiNSTeiN- Date: Fri, 14 Jul 2023 18:17:48 -0400 Subject: [PATCH] Put debug code behind #ifdef --- src/libslic3r/PrintObject.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libslic3r/PrintObject.cpp b/src/libslic3r/PrintObject.cpp index 9ac59af76..31b5ec3ae 100644 --- a/src/libslic3r/PrintObject.cpp +++ b/src/libslic3r/PrintObject.cpp @@ -1216,12 +1216,14 @@ PrintObject::check_nonplanar_collisions(NonplanarSurface &surface) ApplySafetyOffset::No), collider); +#ifdef SLIC3R_DEBUG_SLICE_PROCESSING { static int iRun = 0; SVG svg(debug_out_path("Layer-%u-collider-%u_layer%.2f.svg", layer->id(), iRun++, layer->print_z), get_extents(layerm->slices().surfaces)); svg.draw_outline(collider, "black", scale_(0.1f)); svg.Close(); } +#endif } } }