mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 09:02:53 +00:00
Bugfix: when slicing the same plate multiple times, the results contained old and duplicate data
This commit is contained in:
@@ -60,6 +60,14 @@ sub add_object_from_mesh {
|
||||
return $object;
|
||||
}
|
||||
|
||||
sub cleanup {
|
||||
my $self = shift;
|
||||
$_->cleanup for @{$self->objects};
|
||||
@{$self->skirt} = ();
|
||||
$self->total_extrusion_length(0);
|
||||
$self->processing_time(0);
|
||||
}
|
||||
|
||||
sub layer_count {
|
||||
my $self = shift;
|
||||
my $count = 0;
|
||||
|
||||
Reference in New Issue
Block a user