Skip to content

Commit 8f23be3

Browse files
committed
move the note
1 parent 3d33fe3 commit 8f23be3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

java/libraries/pdf/src/processing/pdf/PGraphicsPDF.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,13 @@ static protected void traverseDir(File folder, DefaultFontMapper mapper) {
253253
}
254254

255255

256+
// endDraw() needs to be overridden so that the endDraw() from
257+
// PGraphicsJava2D is not inherited (it calls loadPixels).
258+
// http://dev.processing.org/bugs/show_bug.cgi?id=1169
256259
public void endDraw() {
257260
// Also need to pop the matrix since the matrix doesn't reset on each run
258261
// http://dev.processing.org/bugs/show_bug.cgi?id=1227
259262
popMatrix();
260-
261-
// This needs to be overridden so that the endDraw() from PGraphicsJava2D
262-
// is not inherited (it calls loadPixels).
263-
// http://dev.processing.org/bugs/show_bug.cgi?id=1169
264263
}
265264

266265

0 commit comments

Comments
 (0)