mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
close open stream
This commit is contained in:
@@ -217,6 +217,7 @@ public class PShapeOBJ extends PShape {
|
||||
if (mreader != null) {
|
||||
parseMTL(parent, mreader, materials, mtlTable);
|
||||
}
|
||||
mreader.close();
|
||||
}
|
||||
} else if (parts[0].equals("g")) {
|
||||
gname = 1 < parts.length ? parts[1] : "";
|
||||
|
||||
Reference in New Issue
Block a user