mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Fixed support unit tests and reduced dependency on $object
This commit is contained in:
parent
bdf825d078
commit
c08d4cc798
3 changed files with 57 additions and 58 deletions
|
@ -773,7 +773,7 @@ sub generate_support_material {
|
|||
return unless ($self->config->support_material || $self->config->raft_layers > 0)
|
||||
&& $self->layer_count >= 2;
|
||||
|
||||
Slic3r::Print::SupportMaterial->new(object => $self)->generate;
|
||||
Slic3r::Print::SupportMaterial->new->generate($self);
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue