mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-31 14:52:06 +00:00
FIX: tree support crashes when there is no overhang
Default infill pattern is lightning now, which has a crash bug when no overhang is provided. Change-Id: I1e70b8458d1eef670a78d698c68b21d7f48bc3eb (cherry picked from commit 777af3aa1dbb9869209945f3a6dbcc07cba0b84a)
This commit is contained in:
@@ -213,6 +213,8 @@ void Generator::generateTrees(const PrintObject &print_object)
|
||||
|
||||
void Generator::generateTreesforSupport(std::vector<Polygons>& contours)
|
||||
{
|
||||
if (contours.empty()) return;
|
||||
|
||||
m_lightning_layers.resize(contours.size());
|
||||
bboxs.resize(contours.size());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user