Permalink
Browse files

Bugfix: first_layer_speed was accepting mm/m values rather than mm/s …

…when expressed as absolute. #452
  • Loading branch information...
1 parent 24d8112 commit 48d345c1896bd5e86a3e75ca2347d881be44913c @alexrj alexrj committed Jun 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Slic3r/Extruder.pm
View
@@ -349,7 +349,7 @@ sub _Gx {
if ($e && $self->layer->id == 0 && $comment !~ /retract/) {
$speed_f = $Slic3r::first_layer_speed =~ /^(\d+(?:\.\d+)?)%$/
? ($speed_f * $1/100)
- : $Slic3r::first_layer_speed;
+ : $Slic3r::first_layer_speed * 60;
}
$gcode .= sprintf " F%.${dec}f", $speed_f;
$self->last_speed($speed);

0 comments on commit 48d345c

Please sign in to comment.