mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00: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