mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 08:02:01 +08:00
Fixed a regression where description was always overwritten to "small perimeter".
This commit is contained in:
parent
9411f5025d
commit
5dc227d26b
@ -408,9 +408,10 @@ GCode::extrude(ExtrusionLoop loop, std::string description, double speed)
|
||||
if (paths.front().is_perimeter()
|
||||
&& !loop.has(erOverhangPerimeter)
|
||||
&& loop.length() <= SMALL_PERIMETER_LENGTH
|
||||
&& speed == -1)
|
||||
&& speed == -1) {
|
||||
speed = this->config.get_abs_value("small_perimeter_speed");
|
||||
description = "small perimeter";
|
||||
}
|
||||
if (paths.front().role == erExternalPerimeter)
|
||||
description = std::string("external ") + description;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user