From 4a134f5320cf8f30cc4c0522016c3fc0801d2c8a Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Wed, 19 May 2021 08:39:04 +0200 Subject: [PATCH] Follow-up of c37d18f046bfe5d868968815235e75b17e5c6f04 -> Removed assert --- src/libslic3r/Model.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libslic3r/Model.cpp b/src/libslic3r/Model.cpp index 55eb6b995..4b6b838be 100644 --- a/src/libslic3r/Model.cpp +++ b/src/libslic3r/Model.cpp @@ -1936,7 +1936,9 @@ arrangement::ArrangePolygon ModelInstance::get_arrange_polygon() const Polygon p = get_object()->convex_hull_2d(trafo_instance); +#if !ENABLE_ALLOW_NEGATIVE_Z assert(!p.points.empty()); +#endif // !ENABLE_ALLOW_NEGATIVE_Z // if (!p.points.empty()) { // Polygons pp{p};