From 5a68595e83989f521c9c661580daa69f50b9ffc8 Mon Sep 17 00:00:00 2001 From: Jim Date: Sat, 7 Oct 2023 16:48:11 -0400 Subject: [PATCH] fix #791 --- core/src/processing/core/PShape.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/processing/core/PShape.java b/core/src/processing/core/PShape.java index 28e0f0847..0538cb761 100644 --- a/core/src/processing/core/PShape.java +++ b/core/src/processing/core/PShape.java @@ -1783,6 +1783,7 @@ protected void drawGeometry(PGraphics g) { g.endContour(); } g.beginContour(); + codeIndex++; insideContour = true; } @@ -1795,6 +1796,7 @@ protected void drawGeometry(PGraphics g) { g.endContour(); } g.beginContour(); + codeIndex++; insideContour = true; }