mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 23:23:59 -06:00
Removed wrong optimization causing possible extra retractions while moving in infill space
This commit is contained in:
parent
4474595629
commit
015580629b
2 changed files with 3 additions and 11 deletions
|
@ -28,6 +28,7 @@ has 'overhang_width' => (is => 'lazy');
|
|||
has 'lines' => (is => 'rw', default => sub { [] });
|
||||
|
||||
# collection of surfaces generated by slicing the original geometry
|
||||
# divided by type top/bottom/internal
|
||||
has 'slices' => (is => 'rw', default => sub { [] });
|
||||
|
||||
# collection of polygons or polylines representing thin walls contained
|
||||
|
@ -266,8 +267,7 @@ sub make_perimeters {
|
|||
$role = EXTR_ROLE_CONTOUR_INTERNAL_PERIMETER;
|
||||
}
|
||||
|
||||
### Disable overhang detection for now
|
||||
if (0 && $self->id > 0) {
|
||||
if ($self->id > 0) {
|
||||
# A perimeter is considered overhang if its centerline exceeds the lower layer slices
|
||||
my $is_overhang = $is_contour
|
||||
? @{diff([$polygon], \@lower_slices)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue