1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-19 09:24:27 +00:00

Fixed support unit tests and reduced dependency on $object

This commit is contained in:
Alessandro Ranellucci
2013-10-26 17:56:59 +02:00
parent bdf825d078
commit c08d4cc798
3 changed files with 57 additions and 58 deletions
+1 -1
View File
@@ -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;