Minor error causing support material to fail when first_layer_height was expressed in % (caught by regression test). #1371

xsdata-boost
Alessandro Ranellucci 2013-08-08 14:41:23 +02:00
parent 4438aec12c
commit f6569cf359
1 changed files with 1 additions and 1 deletions

View File

@ -910,7 +910,7 @@ sub generate_support_material {
###$contact_z = $layer->print_z - $layer->height;
# ignore this contact area if it's too low
next if $contact_z < $Slic3r::Config->first_layer_height;
next if $contact_z < $Slic3r::Config->get_value('first_layer_height');
$contact{$contact_z} = [ @contact ];
$overhang{$contact_z} = [ @overhang ];