mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-27 09:19:11 -07: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