mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 02:42: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()
|
if (paths.front().is_perimeter()
|
||||||
&& !loop.has(erOverhangPerimeter)
|
&& !loop.has(erOverhangPerimeter)
|
||||||
&& loop.length() <= SMALL_PERIMETER_LENGTH
|
&& loop.length() <= SMALL_PERIMETER_LENGTH
|
||||||
&& speed == -1)
|
&& speed == -1) {
|
||||||
speed = this->config.get_abs_value("small_perimeter_speed");
|
speed = this->config.get_abs_value("small_perimeter_speed");
|
||||||
description = "small perimeter";
|
description = "small perimeter";
|
||||||
|
}
|
||||||
if (paths.front().role == erExternalPerimeter)
|
if (paths.front().role == erExternalPerimeter)
|
||||||
description = std::string("external ") + description;
|
description = std::string("external ") + description;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user