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
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-08-01 15:42:59 +0300
committerbubnikv <bubnikv@gmail.com>2017-08-01 15:42:59 +0300
commit933d5b261aa97d4ab530bcdefbe726526c7c118c (patch)
treece13503d66b562b04ffabcb0bef6f54ab49a7092
parent71f99423c57b36a91a390cc268ceb5235f1c079d (diff)
Fix of a "Scale to Size" dialog, where a bed size is shown scaled.
-rw-r--r--lib/Slic3r/GUI/Plater.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm
index 6e06687d4..c473688c2 100644
--- a/lib/Slic3r/GUI/Plater.pm
+++ b/lib/Slic3r/GUI/Plater.pm
@@ -1101,7 +1101,7 @@ sub changescale {
if ($tosize) {
my $cursize = $object_size->[$axis];
my $newsize = $self->_get_number_from_user(
- sprintf('Enter the new size for the selected object (print bed: %smm):', $bed_size->[$axis]),
+ sprintf('Enter the new size for the selected object (print bed: %smm):', unscale($bed_size->[$axis])),
"Scale along $axis_name", 'Invalid scaling value entered', $cursize, 1);
return if $newsize eq '';
$scale = $newsize / $cursize * 100;