From 1210b8989350b96ffbb0ddda39c6132e3eb3f40f Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 29 Jul 2013 16:43:48 +0200 Subject: [PATCH] Remove thumbnail simplification because it caused loss of very thin parts. #1327 --- lib/Slic3r/GUI/Plater.pm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 9f3f956489..83fe4d7d4a 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -1172,11 +1172,8 @@ sub make_thumbnail { ? $mesh->horizontal_projection : [ Slic3r::ExPolygon->new($self->convex_hull) ], ); - - # only simplify expolygons larger than the threshold - @{$thumbnail->expolygons} = grep @$_, - map { ($_->area >= 1) ? $_->simplify(0.5) : $_ } - @{$thumbnail->expolygons}; + # Note: the call to simplify() was removed here because it used Clipper + # simplification which needs integerization. $self->thumbnail($thumbnail); # ignored in multi-threaded environments $self->free_model_object;