PShape of type GEOMETRY is treated the same as PATH when drawing.

This commit is contained in:
Gal Sasson
2014-08-06 22:14:09 -04:00
parent a05f036919
commit 6695215a7d
+3 -1
View File
@@ -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);
}