Bugfix: first layer extrusion width was computed on general layer height rather than first layer height. #465

This commit is contained in:
Alessandro Ranellucci 2012-06-23 21:45:18 +02:00
parent 48addf8c3f
commit a9d480f7bf
2 changed files with 14 additions and 11 deletions

View file

@ -646,7 +646,7 @@ sub validate {
# calculate flow
$Slic3r::flow->calculate($Slic3r::extrusion_width);
if ($Slic3r::first_layer_extrusion_width) {
$Slic3r::first_layer_flow = Slic3r::Flow->new;
$Slic3r::first_layer_flow = Slic3r::Flow->new(layer_height => $Slic3r::_first_layer_height);
$Slic3r::first_layer_flow->calculate($Slic3r::first_layer_extrusion_width);
}
$Slic3r::perimeters_flow->calculate($Slic3r::perimeters_extrusion_width || $Slic3r::extrusion_width);