From 6695215a7d40345bc62a49e663b1b75060eaac1c Mon Sep 17 00:00:00 2001 From: Gal Sasson Date: Wed, 6 Aug 2014 22:14:09 -0400 Subject: [PATCH] PShape of type GEOMETRY is treated the same as PATH when drawing. --- core/src/processing/core/PShape.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/processing/core/PShape.java b/core/src/processing/core/PShape.java index 9dde66626..b97c468d6 100644 --- a/core/src/processing/core/PShape.java +++ b/core/src/processing/core/PShape.java @@ -1547,7 +1547,9 @@ public class PShape implements PConstants { } else if (family == PRIMITIVE) { drawPrimitive(g); } else if (family == GEOMETRY) { - drawGeometry(g); + // same as path + drawPath(g); +// drawGeometry(g); } else if (family == PATH) { drawPath(g); }