mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
Fixed support unit tests and reduced dependency on $object
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user