mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00:00
Finished porting BoundingBox to XS
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user