Remove thumbnail simplification because it caused loss of very thin parts. #1327

This commit is contained in:
Alessandro Ranellucci 2013-07-29 16:43:48 +02:00
parent dc766f9f73
commit 1210b89893

View file

@ -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;