Bugfix: when slicing the same plate multiple times, the results contained old and duplicate data

This commit is contained in:
Alessandro Ranellucci 2012-05-02 15:20:05 +02:00
parent 8e0e6107a3
commit 847cf3c5b8
3 changed files with 14 additions and 0 deletions

View file

@ -152,6 +152,11 @@ sub slice {
if !@{$self->layers};
}
sub cleanup {
my $self = shift;
@{$self->layers} = ();
}
sub detect_surfaces_type {
my $self = shift;
Slic3r::debugf "Detecting solid surfaces...\n";