Fix generating supports for hovering slices (#4129)

This commit is contained in:
Can Geliş 2017-09-24 21:45:21 +03:00 committed by Joseph Lenox
parent e6c715cad2
commit 5514c84f2e

View File

@ -179,8 +179,8 @@ sub contact_area {
} }
$diff = diff( $diff = diff(
offset([ map $_->p, @{$layerm->slices} ], -$d), [ map $_->p, @{$layerm->slices} ],
[ map @$_, @{$lower_layer->slices} ], offset([ map @$_, @{$lower_layer->slices} ], +$d),
); );
# only enforce spacing from the object ($fw/2) if the threshold angle # only enforce spacing from the object ($fw/2) if the threshold angle