mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Fix little regression causing object height not to be updated when object in plater was scaled
This commit is contained in:
@@ -1200,6 +1200,7 @@ sub transformed_bounding_box {
|
|||||||
|
|
||||||
my $bb = Slic3r::Geometry::BoundingBox->new_from_points($self->_apply_transform($self->convex_hull));
|
my $bb = Slic3r::Geometry::BoundingBox->new_from_points($self->_apply_transform($self->convex_hull));
|
||||||
$bb->extents->[Z] = $self->bounding_box->clone->extents->[Z];
|
$bb->extents->[Z] = $self->bounding_box->clone->extents->[Z];
|
||||||
|
$bb->extents->[Z][MAX] *= $self->scale;
|
||||||
return $bb;
|
return $bb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user