Skip to content

Commit 66db581

Browse files
committed
PShape of type GEOMETRY is treated the same as PATH when drawing.
1 parent 877cdf2 commit 66db581

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/processing/core/PShape.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,9 @@ public void drawImpl(PGraphics g) {
15471547
} else if (family == PRIMITIVE) {
15481548
drawPrimitive(g);
15491549
} else if (family == GEOMETRY) {
1550-
drawGeometry(g);
1550+
// same as path
1551+
drawPath(g);
1552+
// drawGeometry(g);
15511553
} else if (family == PATH) {
15521554
drawPath(g);
15531555
}

0 commit comments

Comments
 (0)