mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-04 20:24:02 +08:00
Fix overhang detection for contours
This commit is contained in:
parent
575127151b
commit
a94d26b1ce
@ -268,7 +268,7 @@ sub make_perimeters {
|
||||
|
||||
if ($self->id > 0) {
|
||||
my $is_overhang = $is_contour
|
||||
? @{diff([$polygon], \@lower_slices)}
|
||||
? @{diff([$polygon], [ @lower_slices, offset([$polygon], -$self->perimeter_flow->scaled_width) ])}
|
||||
: !@{intersection([$polygon], \@lower_slices)};
|
||||
|
||||
$role = EXTR_ROLE_OVERHANG_PERIMETER if $is_overhang;
|
||||
|
Loading…
x
Reference in New Issue
Block a user