Eliminate use of uninitialized variable.
This commit is contained in:
parent
ce49f0a294
commit
e6244f7bdb
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user