mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Remove package variable $Slic3r::Config
This commit is contained in:
parent
0693cfb116
commit
1157a7f859
11 changed files with 91 additions and 82 deletions
|
@ -179,7 +179,7 @@ sub contact_area {
|
|||
###$contact_z = $layer->print_z - $layer->height;
|
||||
|
||||
# ignore this contact area if it's too low
|
||||
next if $contact_z < $Slic3r::Config->get_value('first_layer_height');
|
||||
next if $contact_z < $self->config->get_value('first_layer_height');
|
||||
|
||||
$contact{$contact_z} = [ @contact ];
|
||||
$overhang{$contact_z} = [ @overhang ];
|
||||
|
@ -609,6 +609,7 @@ sub generate_toolpaths {
|
|||
};
|
||||
|
||||
Slic3r::parallelize(
|
||||
threads => $self->config->threads,
|
||||
items => [ 0 .. $#{$object->support_layers} ],
|
||||
thread_cb => sub {
|
||||
my $q = shift;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue