FX: Fix curveVertex drawing all curves together as one long curve

Fixes #4382
This commit is contained in:
Jakub Valtar
2016-12-29 21:29:57 +01:00
parent 8b74491e69
commit ec8e023e80
@@ -207,6 +207,7 @@ public class PGraphicsFX2D extends PGraphics {
public void beginShape(int kind) {
shape = kind;
vertexCount = 0;
curveVertexCount = 0;
workPath.reset();
auxPath.reset();