From e593a30fc7f31a936803b4057b894f8e15e597cc Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 6 Feb 2013 10:40:08 +0100 Subject: [PATCH] Skip support material for one-layer objects --- lib/Slic3r/Print/Object.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm index ceeda2646..592380e29 100644 --- a/lib/Slic3r/Print/Object.pm +++ b/lib/Slic3r/Print/Object.pm @@ -578,6 +578,7 @@ sub combine_infill { sub generate_support_material { my $self = shift; + return if $self->layer_count < 2; my $threshold_rad = $Slic3r::Config->support_material_threshold ? deg2rad($Slic3r::Config->support_material_threshold + 1) # +1 makes the threshold inclusive