From f6569cf3596cf850d221175ce68006750433c1b6 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Thu, 8 Aug 2013 14:41:23 +0200 Subject: [PATCH] Minor error causing support material to fail when first_layer_height was expressed in % (caught by regression test). #1371 --- lib/Slic3r/Print/Object.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm index 2ca0e0d1..6ad17771 100644 --- a/lib/Slic3r/Print/Object.pm +++ b/lib/Slic3r/Print/Object.pm @@ -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 ];