Fix arrange when some geometries are ill formed.
SPE-1216 The removed fix for issue 2209 is not needed anymore as the backend (arrange + libnest) takes care of such objects - Offset is now done with libslic3r offset() wrapper (no expception thrown) - Zero area objects are discarded in libnest
This commit is contained in:
parent
f504236734
commit
2fd5a415c5
@ -581,11 +581,6 @@ static void process_arrangeable(const ArrangePolygon &arrpoly,
|
||||
const Vec2crd &offs = arrpoly.translation;
|
||||
double rotation = arrpoly.rotation;
|
||||
|
||||
// This fixes:
|
||||
// https://github.com/prusa3d/PrusaSlicer/issues/2209
|
||||
if (p.points.size() < 3)
|
||||
return;
|
||||
|
||||
outp.emplace_back(std::move(p));
|
||||
outp.back().rotation(rotation);
|
||||
outp.back().translation({offs.x(), offs.y()});
|
||||
|
Loading…
Reference in New Issue
Block a user