mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
Fixed recent regression causing a spike when avoid_crossing_perimeters was used on split objects
This commit is contained in:
parent
da36df65a4
commit
655d528d92
4 changed files with 50 additions and 17 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue