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; }