From b31edc0be3b5605febe4e4652828138268f5f6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Andrade?= Date: Mon, 10 Aug 2015 18:03:45 -0400 Subject: [PATCH] Update GCode.cpp Bugfix #3038 --- 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 51093667a..1c0d92bc1 100644 --- a/xs/src/libslic3r/GCode.cpp +++ b/xs/src/libslic3r/GCode.cpp @@ -576,7 +576,7 @@ GCode::_extrude(ExtrusionPath path, std::string description, double speed) gcode += this->writer.set_speed(F); double path_length = 0; { - std::string comment = this->config.gcode_comments ? (" ; " + description) : ""; + std::string comment = this->config.gcode_comments ? description : ""; Lines lines = path.polyline.lines(); for (Lines::const_iterator line = lines.begin(); line != lines.end(); ++line) { const double line_length = line->length() * SCALING_FACTOR;