Fix little regression causing object height not to be updated when object in plater was scaled

This commit is contained in:
Alessandro Ranellucci 2013-07-26 14:30:00 +02:00
parent c1c1416838
commit aa194c8125

View File

@ -1200,6 +1200,7 @@ sub transformed_bounding_box {
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][MAX] *= $self->scale;
return $bb;
}