From 587629ac80c735bb7b12b51c39038475711a3d4e Mon Sep 17 00:00:00 2001 From: Michael Kirsch Date: Wed, 10 Jul 2019 21:59:57 +0200 Subject: [PATCH] fix UI prompt --- lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm b/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm index 2467653e7..5ccc06397 100644 --- a/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm +++ b/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm @@ -516,7 +516,7 @@ sub changescale { if (defined $axis) { my $axis_name = $axis == X ? 'X' : $axis == Y ? 'Y' : 'Z'; my $scale; - if (defined $tosize) { + if ($tosize) { my $cursize = $object_size->[$axis]; # Wx::GetNumberFromUser() does not support decimal numbers my $newsize = Wx::GetTextFromUser(