diff --git a/Runtime/Triangulator.cs b/Runtime/Triangulator.cs index ca7c135..23b1b62 100644 --- a/Runtime/Triangulator.cs +++ b/Runtime/Triangulator.cs @@ -2217,12 +2217,14 @@ private void PlantAuto(Allocator allocator) if (!heVisited[ohe]) { heQueue.Enqueue(ohe); + heVisited[ohe] = true; } ohe = NextHalfedge(ohe); if (!heVisited[ohe]) { heQueue.Enqueue(ohe); + heVisited[ohe] = true; } } }