From 5514c84f2eb1d38275d15626d4453f7c56011621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Can=20Geli=C5=9F?= Date: Sun, 24 Sep 2017 21:45:21 +0300 Subject: [PATCH] Fix generating supports for hovering slices (#4129) --- lib/Slic3r/Print/SupportMaterial.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/Print/SupportMaterial.pm b/lib/Slic3r/Print/SupportMaterial.pm index 4c25dace2..d3be45394 100644 --- a/lib/Slic3r/Print/SupportMaterial.pm +++ b/lib/Slic3r/Print/SupportMaterial.pm @@ -179,8 +179,8 @@ sub contact_area { } $diff = diff( - offset([ map $_->p, @{$layerm->slices} ], -$d), - [ map @$_, @{$lower_layer->slices} ], + [ map $_->p, @{$layerm->slices} ], + offset([ map @$_, @{$lower_layer->slices} ], +$d), ); # only enforce spacing from the object ($fw/2) if the threshold angle