Rename $Slic3r::resolution to $Slic3r::scaling_factor

This commit is contained in:
Alessandro Ranellucci 2012-04-16 14:05:38 +02:00
parent d51ba94e8a
commit 96d5e513b8
10 changed files with 26 additions and 26 deletions

View file

@ -534,7 +534,7 @@ sub validate {
die "Invalid value for --layer-height\n"
if $Slic3r::layer_height <= 0;
die "--layer-height must be a multiple of print resolution\n"
if $Slic3r::layer_height / $Slic3r::resolution % 1 != 0;
if $Slic3r::layer_height / $Slic3r::scaling_factor % 1 != 0;
# --first-layer-height-ratio
die "Invalid value for --first-layer-height-ratio\n"