1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-13 08:24:27 +00:00

Fix overhang detection for contours

This commit is contained in:
Alessandro Ranellucci
2013-05-15 10:50:38 +02:00
parent 575127151b
commit a94d26b1ce
+1 -1
View File
@@ -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;