mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-02 16:59:48 +02:00
Fixed recent regression causing a spike when avoid_crossing_perimeters was used on split objects
This commit is contained in:
@@ -398,14 +398,19 @@ sub duplicate {
|
||||
$self->BUILD;
|
||||
}
|
||||
|
||||
sub used_vertices {
|
||||
my $self = shift;
|
||||
return [ map $self->vertices->[$_], map @$_, @{$self->facets} ];
|
||||
}
|
||||
|
||||
sub extents {
|
||||
my $self = shift;
|
||||
return Slic3r::Geometry::bounding_box_3D($self->vertices);
|
||||
return Slic3r::Geometry::bounding_box_3D($self->used_vertices);
|
||||
}
|
||||
|
||||
sub size {
|
||||
my $self = shift;
|
||||
return Slic3r::Geometry::size_3D($self->vertices);
|
||||
return Slic3r::Geometry::size_3D($self->used_vertices);
|
||||
}
|
||||
|
||||
sub slice_facet {
|
||||
|
||||
Reference in New Issue
Block a user