Fix little regression causing object height not to be updated when object in plater was scaled
This commit is contained in:
parent
c1c1416838
commit
aa194c8125
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue