Integerize plater thumbnails

This commit is contained in:
Alessandro Ranellucci committed 2013-08-05 20:21:08 +02:00
1 parent d8e2cde962
commit 0ce7ebc4b8
2 files changed
+10 -6

No files matched your search

+3
View File
@@ -1174,6 +1174,9 @@ sub make_thumbnail {
);
# Note: the call to simplify() was removed here because it used Clipper
# simplification which needs integerization.
# TODO: remove polygons with area <= 1 pixel
$thumbnail->scale(&Slic3r::SCALING_FACTOR);
$self->thumbnail($thumbnail); # ignored in multi-threaded environments
$self->free_model_object;