mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 19:12:17 +00:00
Eliminate use of uninitialized variable.
This commit is contained in:
@@ -79,7 +79,7 @@ public:
|
|||||||
ExPolygons overhangs;
|
ExPolygons overhangs;
|
||||||
// Overhangs, where the surface must slope.
|
// Overhangs, where the surface must slope.
|
||||||
ExPolygons overhangs_slopes;
|
ExPolygons overhangs_slopes;
|
||||||
float overhangs_area;
|
float overhangs_area = 0.f;
|
||||||
|
|
||||||
bool overlaps(const Structure &rhs) const {
|
bool overlaps(const Structure &rhs) const {
|
||||||
return this->bbox.overlap(rhs.bbox) && (this->polygon->overlaps(*rhs.polygon) || rhs.polygon->overlaps(*this->polygon));
|
return this->bbox.overlap(rhs.bbox) && (this->polygon->overlaps(*rhs.polygon) || rhs.polygon->overlaps(*this->polygon));
|
||||||
|
|||||||
Reference in New Issue
Block a user