mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 20:57:53 -06:00
Fixed regression causing random failures in bridge direction detection. #2636
This commit is contained in:
parent
bb3feedc31
commit
1ab8efba7f
3 changed files with 15 additions and 8 deletions
|
@ -112,6 +112,16 @@ ExPolygonCollection::lines() const
|
|||
return lines;
|
||||
}
|
||||
|
||||
Polygons
|
||||
ExPolygonCollection::contours() const
|
||||
{
|
||||
Polygons contours;
|
||||
for (ExPolygons::const_iterator it = this->expolygons.begin(); it != this->expolygons.end(); ++it) {
|
||||
contours.push_back(it->contour);
|
||||
}
|
||||
return contours;
|
||||
}
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
REGISTER_CLASS(ExPolygonCollection, "ExPolygon::Collection");
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue