mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-11 20:09:08 +08:00
Remove thumbnail simplification because it caused loss of very thin parts. #1327
This commit is contained in:
parent
dc766f9f73
commit
1210b89893
@ -1172,11 +1172,8 @@ sub make_thumbnail {
|
|||||||
? $mesh->horizontal_projection
|
? $mesh->horizontal_projection
|
||||||
: [ Slic3r::ExPolygon->new($self->convex_hull) ],
|
: [ Slic3r::ExPolygon->new($self->convex_hull) ],
|
||||||
);
|
);
|
||||||
|
# Note: the call to simplify() was removed here because it used Clipper
|
||||||
# only simplify expolygons larger than the threshold
|
# simplification which needs integerization.
|
||||||
@{$thumbnail->expolygons} = grep @$_,
|
|
||||||
map { ($_->area >= 1) ? $_->simplify(0.5) : $_ }
|
|
||||||
@{$thumbnail->expolygons};
|
|
||||||
|
|
||||||
$self->thumbnail($thumbnail); # ignored in multi-threaded environments
|
$self->thumbnail($thumbnail); # ignored in multi-threaded environments
|
||||||
$self->free_model_object;
|
$self->free_model_object;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user