mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
more API cleanups for consistency
This commit is contained in:
@@ -253,7 +253,7 @@ public class PGraphics2D extends PGraphicsOpenGL {
|
||||
try {
|
||||
InputStream input =
|
||||
new GZIPInputStream(pg.parent.createInput(filename));
|
||||
XML xml = new XML(input);
|
||||
XML xml = new XML(PApplet.createReader(input));
|
||||
svg = new PShapeSVG(xml);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user