Check that bridge_flow_ratio > 0

This commit is contained in:
Alessandro Ranellucci 2012-02-19 09:32:16 +01:00
parent a9e7204fc6
commit 4f72de3873

View File

@ -504,6 +504,10 @@ sub validate {
die "Invalid value for --skirt-height\n"
if $Slic3r::skirt_height < 0;
# --bridge-flow-ratio
die "Invalid value for --bridge-flow-ratio\n"
if $Slic3r::bridge_flow_ratio <= 0;
# legacy with existing config files
$Slic3r::small_perimeter_speed ||= $Slic3r::perimeter_speed;
$Slic3r::bridge_speed ||= $Slic3r::infill_speed;