Bugfix: angle threshold was considered even when enforcing support

This commit is contained in:
Alessandro Ranellucci 2013-02-09 21:49:00 +01:00
parent 26a3cd5542
commit cf8cfc1380

View File

@ -658,8 +658,8 @@ sub generate_support_material {
my $distance = $i <= ($Slic3r::Config->support_material_enforce_layers + $Slic3r::Config->raft_layers)
? 0
: $overhang_width;
@overhangs = map $_->offset_ex(2 * $overhang_width), @{diff_ex(
[ map @$_, map $_->offset_ex(-$overhang_width), @{$layer->slices} ],
@overhangs = map $_->offset_ex(2 * $distance), @{diff_ex(
[ map @$_, map $_->offset_ex(-$distance), @{$layer->slices} ],
[ map @$_, @{$lower_layer->slices} ],
1,
)};