We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b33658 commit 3fcd7d9Copy full SHA for 3fcd7d9
1 file changed
libs/clipper/clipper.cpp
@@ -1970,7 +1970,7 @@ void Clipper::DeleteFromSEL(TEdge *e)
1970
#ifdef use_xyz
1971
void Clipper::SetZ(IntPoint& pt, TEdge& e1, TEdge& e2)
1972
{
1973
- if (pt.Z != 0 || !m_ZFill) return;
+ if (pt.Z != ZType(0) || !m_ZFill) return;
1974
else if (pt == e1.Bot) pt.Z = e1.Bot.Z;
1975
else if (pt == e1.Top) pt.Z = e1.Top.Z;
1976
else if (pt == e2.Bot) pt.Z = e2.Bot.Z;
0 commit comments