mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
parent
5b8ed7367a
commit
b31edc0be3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue