From 6019836eefd50943e379e6713ab8447642ce11b4 Mon Sep 17 00:00:00 2001 From: Mark Hindess Date: Thu, 6 Dec 2012 20:39:03 +0000 Subject: [PATCH] Avoid uninitialized value in concatenation at line 347. --- lib/Slic3r/GCode.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GCode.pm b/lib/Slic3r/GCode.pm index a5c46b2e..6a45b61c 100644 --- a/lib/Slic3r/GCode.pm +++ b/lib/Slic3r/GCode.pm @@ -514,7 +514,7 @@ sub _limit_frequency { my $self = shift; my ($point) = @_; - return if $Slic3r::Config->vibration_limit == 0; + return '' if $Slic3r::Config->vibration_limit == 0; my $min_time = 1 / ($Slic3r::Config->vibration_limit * 60); # in minutes # calculate the move vector and move direction