From 7457cfdac27eea2ce6b34e45758fcf97b3c13fec Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sat, 14 Apr 2018 14:52:46 -0500 Subject: [PATCH] Outputs (bridge) in verbose gcode if path extruded is marked as bridge. Fixes #4380 --- xs/src/libslic3r/GCode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/src/libslic3r/GCode.cpp b/xs/src/libslic3r/GCode.cpp index 4507ed5dd..38119a1a4 100644 --- a/xs/src/libslic3r/GCode.cpp +++ b/xs/src/libslic3r/GCode.cpp @@ -503,8 +503,8 @@ std::string GCode::_extrude(ExtrusionPath path, std::string description, double speed) { path.simplify(SCALED_RESOLUTION); - std::string gcode; + description = path.is_bridge() ? description + " (bridge)" : description; // go to first point of extrusion path if (!this->_last_pos_defined || !this->_last_pos.coincides_with(path.first_point())) {