mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 17:42:14 +00:00
Fixed some compilation warnings in MutablePolygon.cpp
This commit is contained in:
@@ -148,6 +148,7 @@ static bool clip_narrow_corner(
|
||||
|
||||
if (polygon.size() <= 3) {
|
||||
// A hole degenerated to an empty polygon, or a tiny triangle remained.
|
||||
#ifndef NDEBUG
|
||||
bool blocked = forward == Blocked || backward == Blocked;
|
||||
assert(polygon.size() < 3 ||
|
||||
// Remaining triangle is CCW oriented. Both sides must be "blocked", but the other side may have not been
|
||||
@@ -155,7 +156,6 @@ static bool clip_narrow_corner(
|
||||
blocked ||
|
||||
// Remaining triangle is concave, however both of its arms are long.
|
||||
(forward == Far && backward == Far));
|
||||
#ifndef _NDEBUG
|
||||
if (polygon.size() == 3) {
|
||||
// Verify that the remaining triangle is CCW or CW.
|
||||
p02 = it0.prev()->cast<int64_t>();
|
||||
|
||||
Reference in New Issue
Block a user