mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Bugfix: models located very far from XYZ origin were incorrectly placed on the print area
This commit is contained in:
1 parent
40d06a6e11
commit
2e013e72e8
1 file changed
+1
-1
@@ -297,7 +297,7 @@ sub duplicate {
|
||||
|
||||
sub bounding_box {
|
||||
my $self = shift;
|
||||
my @extents = (map [99999999999, -99999999999], X,Y,Z);
|
||||
my @extents = (map [9999999999999999999999, -9999999999999999999999], X,Y,Z);
|
||||
foreach my $facet (@{$self->facets}) {
|
||||
my ($normal, @vertices) = @$facet;
|
||||
foreach my $vertex (@vertices) {
|
||||
|
||||
Reference in new issue
Block a user