mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Finished porting BoundingBox to XS
This commit is contained in:
parent
ea47f3b6e7
commit
b17d06f9d1
24 changed files with 160 additions and 262 deletions
|
@ -260,7 +260,7 @@ sub validate {
|
|||
{
|
||||
my @object_height = ();
|
||||
foreach my $object (@{$self->objects}) {
|
||||
my $height = $object->size->[Z];
|
||||
my $height = $object->size->z;
|
||||
push @object_height, $height for @{$object->copies};
|
||||
}
|
||||
@object_height = sort { $a <=> $b } @object_height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue