From ea3266c6e91ac3360ca5b9cf539c2d04718ae0ec Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sun, 23 Mar 2014 16:56:41 +0100 Subject: [PATCH] Fix modifiers --- lib/Slic3r/Print/Object.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm index b50ee98c3..a5ed5d18d 100644 --- a/lib/Slic3r/Print/Object.pm +++ b/lib/Slic3r/Print/Object.pm @@ -246,7 +246,10 @@ sub slice { # remove such parts from original region $other_layerm->slices->clear; - $other_layerm->append($_) for @{ diff($other_slices, $my_parts) }; + $other_layerm->slices->append(Slic3r::Surface->new( + expolygon => $_, + surface_type => S_TYPE_INTERNAL, + )) for @{ diff_ex($other_slices, [ map @$_, @$my_parts ]) }; } } }