mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
Fixes and improvements after testing with more complex objects
This commit is contained in:
parent
bfad101c8c
commit
478047fad3
5 changed files with 70 additions and 5 deletions
|
@ -86,7 +86,7 @@ sub point_in_polygon {
|
|||
}
|
||||
|
||||
# if point is not in polygon, let's check whether it belongs to the contour
|
||||
if (!$side) {
|
||||
if (!$side && 0) {
|
||||
foreach my $line (polygon_lines($polygon)) {
|
||||
# calculate the Y in line at X of the point
|
||||
if ($line->[A][X] == $line->[B][X]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue