mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-03 14:40:39 +08:00
Fix SLA crash
This commit is contained in:
parent
8db0f20516
commit
ea62d7b8fb
@ -399,7 +399,7 @@ ArrItem AdvancedItemConverter<ArrItem>::get_arritem(const Arrangeable &arrbl,
|
||||
if (infl != 0) {
|
||||
outline = offset_ex(outline, infl);
|
||||
if (! envelope.empty())
|
||||
envelope = offset_ex(outline, infl);
|
||||
envelope = offset_ex(envelope, infl);
|
||||
}
|
||||
|
||||
ArrItem ret;
|
||||
|
@ -632,6 +632,8 @@ ExPolygons ArrangeableSLAPrintObject::full_outline() const
|
||||
Polygons ptmp = project_mesh(smesh.its, trafo_instance, [] {});
|
||||
std::move(ptmp.begin(), ptmp.end(), std::back_inserter(polys));
|
||||
ret = union_ex(polys);
|
||||
} else {
|
||||
ret = m_arrbl->full_outline();
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user