mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
Fix #4826. PShape in Java2D wasn't respecting kind.
Reverses commit 6695215a7d.
This commit is contained in:
@@ -1604,9 +1604,9 @@ public class PShape implements PConstants {
|
||||
} else if (family == PRIMITIVE) {
|
||||
drawPrimitive(g);
|
||||
} else if (family == GEOMETRY) {
|
||||
// same as path
|
||||
drawPath(g);
|
||||
// drawGeometry(g);
|
||||
// Not same as path: `kind` matters.
|
||||
// drawPath(g);
|
||||
drawGeometry(g);
|
||||
} else if (family == PATH) {
|
||||
drawPath(g);
|
||||
}
|
||||
@@ -3442,4 +3442,4 @@ public class PShape implements PConstants {
|
||||
calcAlpha = (calcAi != 255);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user