From 356e750cf4ed58ac6879c963d1d24e143fb3530d Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 16 Apr 2012 13:48:55 +0200 Subject: [PATCH] Bugfix: support material was oversimplifying the first outer perimeter. #314 --- lib/Slic3r/Print.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index 2ba53f402..846c88c2d 100644 --- a/lib/Slic3r/Print.pm +++ b/lib/Slic3r/Print.pm @@ -621,7 +621,7 @@ sub generate_support_material { # grep $_->surface_type eq 'bottom' && defined $_->bridge_angle, # @{$layer->fill_surfaces} ], # )}; - @a = map $_->expolygon, grep $_->surface_type eq 'bottom', @{$layer->slices}; + @a = map $_->expolygon->clone, grep $_->surface_type eq 'bottom', @{$layer->slices}; $_->simplify(scale $Slic3r::flow_spacing * 3) for @a; push @unsupported_expolygons, @a;