mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-04 07:20:44 +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) {
|
if (infl != 0) {
|
||||||
outline = offset_ex(outline, infl);
|
outline = offset_ex(outline, infl);
|
||||||
if (! envelope.empty())
|
if (! envelope.empty())
|
||||||
envelope = offset_ex(outline, infl);
|
envelope = offset_ex(envelope, infl);
|
||||||
}
|
}
|
||||||
|
|
||||||
ArrItem ret;
|
ArrItem ret;
|
||||||
|
@ -632,6 +632,8 @@ ExPolygons ArrangeableSLAPrintObject::full_outline() const
|
|||||||
Polygons ptmp = project_mesh(smesh.its, trafo_instance, [] {});
|
Polygons ptmp = project_mesh(smesh.its, trafo_instance, [] {});
|
||||||
std::move(ptmp.begin(), ptmp.end(), std::back_inserter(polys));
|
std::move(ptmp.begin(), ptmp.end(), std::back_inserter(polys));
|
||||||
ret = union_ex(polys);
|
ret = union_ex(polys);
|
||||||
|
} else {
|
||||||
|
ret = m_arrbl->full_outline();
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user