mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 18:27:58 -06:00
Fixed compilation warnings and a potential bug in MotionPlanner, as reported in #3054
This commit is contained in:
parent
7c7982d9f3
commit
f8d2c69713
7 changed files with 12 additions and 10 deletions
|
@ -283,7 +283,7 @@ ExtrusionLoop::has_overhang_point(const Point &point) const
|
|||
if (pos != -1) {
|
||||
// point belongs to this path
|
||||
// we consider it overhang only if it's not an endpoint
|
||||
return (path->is_bridge() && pos > 0 && pos != path->polyline.points.size()-1);
|
||||
return (path->is_bridge() && pos > 0 && pos != (int)(path->polyline.points.size())-1);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue