Fixed regression with support material

This commit is contained in:
Alessandro Ranellucci 2012-04-30 23:36:49 +02:00
parent 4962d310bf
commit 54e1d934a7
2 changed files with 3 additions and 2 deletions

View file

@ -237,7 +237,7 @@ sub export_gcode {
# generate support material
if ($Slic3r::support_material) {
$status_cb->(85, "Generating support material");
$_->generate_support_material for @{$self->objects};
$_->generate_support_material(print => $self) for @{$self->objects};
}
# free memory (note that support material needs fill_surfaces)