From 00b28456a740cd166437ca804a128a0b62c51fc1 Mon Sep 17 00:00:00 2001 From: Russell Morris Date: Thu, 24 Apr 2025 11:47:32 -0600 Subject: [PATCH] Revert "Fix for #22" This reverts commit 955761f46fcec73c91c5dbf2547b6f88afb5d3fc. This fixes a crash noticed in #72. --- Source/sweep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/sweep.c b/Source/sweep.c index 65a7f62..b26a6ce 100755 --- a/Source/sweep.c +++ b/Source/sweep.c @@ -493,7 +493,7 @@ static int CheckForRightSplice( TESStesselator *tess, ActiveRegion *regUp ) SpliceMergeVertices( tess, eLo->Oprev, eUp ); } } else { - if( EdgeSign( eUp->Dst, eLo->Org, eUp->Org ) <= 0 ) return FALSE; + if( EdgeSign( eUp->Dst, eLo->Org, eUp->Org ) < 0 ) return FALSE; /* eLo->Org appears to be above eUp, so splice eLo->Org into eUp */ regUp->dirty = TRUE;