mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 05:07:51 -06:00
Bugfix: crash when skirt was contained in brim area. Includes regression test. #2058
This commit is contained in:
parent
98b8936ee2
commit
ce1e736b6b
2 changed files with 11 additions and 2 deletions
|
@ -783,7 +783,7 @@ sub make_brim {
|
|||
# if brim touches skirt, make it around skirt too
|
||||
# TODO: calculate actual skirt width (using each extruder's flow in multi-extruder setups)
|
||||
if ($self->config->skirt_distance + (($self->config->skirts - 1) * $flow->spacing) <= $self->config->brim_width) {
|
||||
push @islands, map @{$_->split_at_first_point->polyline->grow($grow_distance)}, @{$self->skirt};
|
||||
push @islands, map @{$_->polygon->split_at_first_point->grow($grow_distance)}, @{$self->skirt};
|
||||
}
|
||||
|
||||
my @loops = ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue