Fixed the "Export SVG..." menu item. #399

This commit is contained in:
Alessandro Ranellucci 2012-05-30 12:06:01 +02:00
parent 5eae22f8b0
commit 8aa20cd784
2 changed files with 6 additions and 8 deletions

View file

@ -332,10 +332,7 @@ sub export_svg {
my $self = shift;
my %params = @_;
$_->slice for @{$self->objects};
unless ($params{keep_meshes}) {
$_->mesh(undef) for @{$self->objects}; # free memory
}
$_->slice(keep_meshes => $params{keep_meshes}) for @{$self->objects};
$self->arrange_objects;
my $output_file = $self->expanded_output_filepath($params{output_file});