From 23d171a5b8581b9305bb617d6982ec9ccd9aacbf Mon Sep 17 00:00:00 2001 From: Jim Date: Mon, 9 Dec 2024 10:48:51 -0500 Subject: [PATCH] finishing what I started, fixing contour bug for good, closing #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 28e0f08476..0538cb761d 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; }