mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 10:17:55 -06:00
Removed dependency on Math::Clipper
This commit is contained in:
parent
b11b595c97
commit
fb763b0187
21 changed files with 82 additions and 76 deletions
|
@ -330,7 +330,6 @@ sub make_perimeters {
|
|||
items => sub { 0 .. ($self->layer_count-1) },
|
||||
thread_cb => sub {
|
||||
my $q = shift;
|
||||
$Slic3r::Geometry::Clipper::clipper = Math::Clipper->new;
|
||||
while (defined (my $layer_id = $q->dequeue)) {
|
||||
$self->layers->[$layer_id]->make_perimeters;
|
||||
}
|
||||
|
@ -1235,7 +1234,6 @@ sub generate_support_material {
|
|||
items => [ 0 .. $#{$self->support_layers} ],
|
||||
thread_cb => sub {
|
||||
my $q = shift;
|
||||
$Slic3r::Geometry::Clipper::clipper = Math::Clipper->new;
|
||||
my $result = {};
|
||||
while (defined (my $layer_id = $q->dequeue)) {
|
||||
$result->{$layer_id} = $process_layer->($layer_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue