Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix error when vibration limit is disabled

  • Loading branch information...
commit 4078bb0476c8556124790171b753316ab8a5e939 1 parent 142a6cc
@alexrj authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Slic3r/GCode.pm
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.