mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 13:25:56 +08:00
SPE-2627: Pass information if the perimeter is a loop or not into the GCodeGenerator::extrude_smooth_path(). (#13753)
This commit is contained in:
parent
8976250fb9
commit
8fc4e241d3
@ -3102,7 +3102,7 @@ std::string GCodeGenerator::extrude_perimeters(
|
||||
// Apply the small perimeter speed.
|
||||
if (perimeter.extrusion_entity->length() <= SMALL_PERIMETER_LENGTH)
|
||||
speed = m_config.small_perimeter_speed.get_abs_value(m_config.perimeter_speed);
|
||||
gcode += this->extrude_smooth_path(perimeter.smooth_path, true, comment_perimeter, speed, perimeter.wipe_offset);
|
||||
gcode += this->extrude_smooth_path(perimeter.smooth_path, perimeter.extrusion_entity->is_loop(), comment_perimeter, speed, perimeter.wipe_offset);
|
||||
this->m_travel_obstacle_tracker.mark_extruded(
|
||||
perimeter.extrusion_entity, print_instance.object_layer_to_print_id, print_instance.instance_id
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user