mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Bugfix: make_perimeters() was not truly idempotent because prepare_infill() split ->slices into typed surfaces
This commit is contained in:
parent
28f9278963
commit
d9f5fdae72
6 changed files with 38 additions and 3 deletions
|
@ -40,6 +40,17 @@ sub flow {
|
|||
);
|
||||
}
|
||||
|
||||
sub merge_slices {
|
||||
my ($self) = @_;
|
||||
|
||||
my $expolygons = union_ex([ map $_->p, @{$self->slices} ]);
|
||||
$self->slices->clear;
|
||||
$self->slices->append(Slic3r::Surface->new(
|
||||
expolygon => $_,
|
||||
surface_type => S_TYPE_INTERNAL,
|
||||
)) for @$expolygons;
|
||||
}
|
||||
|
||||
sub make_perimeters {
|
||||
my ($self, $slices, $fill_surfaces) = @_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue