mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
don't attempt to tessellate edges if edge count == 0. Solves issue #1421
This commit is contained in:
@@ -10658,6 +10658,9 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
|
||||
void tessellateEdges() {
|
||||
if (stroke) {
|
||||
if (in.edgeCount == 0) {
|
||||
return;
|
||||
}
|
||||
if (is3D) {
|
||||
tessellateEdges3D();
|
||||
} else if (is2D) {
|
||||
|
||||
Reference in New Issue
Block a user