mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 23:23:59 -06:00
Store layer slices and region slices as XS data to save memory and make them shared across threads
This commit is contained in:
parent
d06ac3e31e
commit
f7967414e0
4 changed files with 9 additions and 4 deletions
|
@ -147,7 +147,7 @@ sub _merge_loops {
|
|||
Slic3r::debugf " %d surface(s) having %d holes detected from %d polylines\n",
|
||||
scalar(@$expolygons), scalar(map $_->holes, @$expolygons), scalar(@$loops);
|
||||
|
||||
return map Slic3r::Surface->new(expolygon => $_, surface_type => S_TYPE_INTERNAL), @$expolygons;
|
||||
return map Slic3r::Surface->new(expolygon => Slic3r::ExPolygon::XS->new(@$_), surface_type => S_TYPE_INTERNAL), @$expolygons;
|
||||
}
|
||||
|
||||
sub make_perimeters {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue