mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-15 01:55:59 +08:00
parent
5b8ed7367a
commit
b31edc0be3
@ -576,7 +576,7 @@ GCode::_extrude(ExtrusionPath path, std::string description, double speed)
|
|||||||
gcode += this->writer.set_speed(F);
|
gcode += this->writer.set_speed(F);
|
||||||
double path_length = 0;
|
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();
|
Lines lines = path.polyline.lines();
|
||||||
for (Lines::const_iterator line = lines.begin(); line != lines.end(); ++line) {
|
for (Lines::const_iterator line = lines.begin(); line != lines.end(); ++line) {
|
||||||
const double line_length = line->length() * SCALING_FACTOR;
|
const double line_length = line->length() * SCALING_FACTOR;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user