Skip support material for one-layer objects

internal-support
Alessandro Ranellucci 2013-02-06 10:40:08 +01:00
parent e7139c514d
commit e593a30fc7
1 changed files with 1 additions and 0 deletions

View File

@ -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