mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 21:58:03 -06:00
Fix error when vibration limit is disabled
This commit is contained in:
parent
142a6cc4eb
commit
4078bb0476
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ sub _limit_frequency {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my ($point) = @_;
|
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
|
my $min_time = 1 / ($Slic3r::Config->vibration_limit * 60); # in minutes
|
||||||
|
|
||||||
# calculate the move vector and move direction
|
# calculate the move vector and move direction
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue