mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-13 23:15:56 +08:00
fix a gap fill/thin wall artifact
This commit is contained in:
parent
a560103ce2
commit
d10e5531c0
@ -206,7 +206,7 @@ MedialAxis::validate_edge(const VD::edge_type* edge, Lines &lines, std::map<cons
|
||||
// discard edge if it lies outside the supplied shape
|
||||
// this could maybe be optimized (checking inclusion of the endpoints
|
||||
// might give false positives as they might belong to the contour itself)
|
||||
if (line.a.coincides_with(line.b)) {
|
||||
if (line.a.coincides_with_epsilon(line.b)) {
|
||||
// in this case, contains(line) returns a false positive
|
||||
if (!this->expolygon.contains(line.a)) return false;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user