diff --git a/core/src/processing/opengl/PShapeOpenGL.java b/core/src/processing/opengl/PShapeOpenGL.java index 1f4e8be6f..c471fe49d 100644 --- a/core/src/processing/opengl/PShapeOpenGL.java +++ b/core/src/processing/opengl/PShapeOpenGL.java @@ -2997,7 +2997,9 @@ public class PShapeOpenGL extends PShape { tessellateSphere(); } } else if (family == PATH) { - inGeo.clear(); + // TODO workaround for vertices being wiped out, + // but need to identify the real problem here + if (vertices != null) inGeo.clear(); tessellatePath(); } diff --git a/core/todo.txt b/core/todo.txt index f9c9cfb6c..d944a30b4 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -3,6 +3,11 @@ X support extensions for directories with listFiles/listPaths X otherwise asking for .jpg will return root folders (unless 'only files' specified) X but because macOS actually puts extensions on folders (.app, etc), support it X fix for disableStyle() with 2D shapes in P3D +X added workaround in PShapeOpenGL to get access to vertex data +_ still need to find the root cause +_ also need to check for other reports about this + +_ made DrawListener public in PSurfaceJOGL (probably change that back) _ put opengl libs for core into platform-specific subfolders?