mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
Bugfix: some bridges had wrong perimeters inside
This commit is contained in:
parent
c97a89c07c
commit
56619871b2
3 changed files with 13 additions and 5 deletions
|
@ -157,7 +157,7 @@ sub point_in_segment {
|
|||
|
||||
# if line is vertical, check whether point's X is the same as the line
|
||||
if ($line->[A][X] == $line->[B][X]) {
|
||||
return 1 if abs($x - $line->[A][X]) < epsilon;
|
||||
return abs($x - $line->[A][X]) < epsilon ? 1 : 0;
|
||||
}
|
||||
|
||||
# calculate the Y in line at X of the point
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue