Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2013-07-26 16:30:00 +0400
committerAlessandro Ranellucci <aar@cpan.org>2013-07-26 16:30:00 +0400
commitaa194c81259f7495001fa4210934b7faca288922 (patch)
treeb95d8a60ca8317a9832f124eb3a934df8a2d43e2 /lib
parentc1c141683821284342285b8c80709fa9bacd6858 (diff)
Fix little regression causing object height not to be updated when object in plater was scaled
Diffstat (limited to 'lib')
-rw-r--r--lib/Slic3r/GUI/Plater.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm
index 4c0943d42..9f3f95648 100644
--- a/lib/Slic3r/GUI/Plater.pm
+++ b/lib/Slic3r/GUI/Plater.pm
@@ -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;
}