Fixed crash when Arachne produced empty output.
This commit is contained in:
parent
d868261399
commit
9896721bc8
@ -321,6 +321,9 @@ void PerimeterGenerator::process_arachne()
|
||||
wallToolPaths.generate();
|
||||
|
||||
std::vector<Arachne::VariableWidthLines> perimeters = wallToolPaths.getToolPaths();
|
||||
if (perimeters.empty())
|
||||
continue;
|
||||
|
||||
int start_perimeter = int(perimeters.size()) - 1;
|
||||
int end_perimeter = -1;
|
||||
int direction = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user