Merge pull request #4800 from JakubValtar/fix-fx-curves

FX: Fix curveVertex drawing all curves together as one long curve
This commit is contained in:
Ben Fry
2017-01-06 10:49:14 -05:00
committed by GitHub
@@ -208,6 +208,7 @@ public class PGraphicsFX2D extends PGraphics {
public void beginShape(int kind) {
shape = kind;
vertexCount = 0;
curveVertexCount = 0;
workPath.reset();
auxPath.reset();