From 2cd50721121031acf59cef507fc8b57145962418 Mon Sep 17 00:00:00 2001 From: thewildmage Date: Tue, 20 Jun 2023 17:16:14 -0600 Subject: [PATCH] Remove redundant invocation --- src/libslic3r/GCode.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index d4ea64270c..3a7b00d13d 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -3381,21 +3381,6 @@ GCode::LayerResult GCode::process_layer( } } - if (print.calib_mode() == CalibMode::Calib_PA_Pattern) { - gcode += "; start pressure advance pattern for layer\n"; - - CalibPressureAdvancePattern pa_pattern(print.calib_params(), this); - CustomGCode::Info pa_pattern_info = pa_pattern.generate_gcodes(); - - for (CustomGCode::Item i : pa_pattern_info.gcodes) { - if (i.print_z == print_z) { - gcode += i.extra; - } - } - - gcode += "; end pressure advance pattern for layer\n"; - } - #if 0 // Apply spiral vase post-processing if this layer contains suitable geometry // (we must feed all the G-code into the post-processor, including the first