From 8f23be3df0f703e1772c80cbcbe00e993ff07e77 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Fri, 15 May 2015 16:23:48 -0400 Subject: [PATCH] move the note --- java/libraries/pdf/src/processing/pdf/PGraphicsPDF.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/java/libraries/pdf/src/processing/pdf/PGraphicsPDF.java b/java/libraries/pdf/src/processing/pdf/PGraphicsPDF.java index f0a3564ea..058e938fd 100644 --- a/java/libraries/pdf/src/processing/pdf/PGraphicsPDF.java +++ b/java/libraries/pdf/src/processing/pdf/PGraphicsPDF.java @@ -253,14 +253,13 @@ public class PGraphicsPDF extends PGraphicsJava2D { } + // endDraw() needs to be overridden so that the endDraw() from + // PGraphicsJava2D is not inherited (it calls loadPixels). + // http://dev.processing.org/bugs/show_bug.cgi?id=1169 public void endDraw() { // Also need to pop the matrix since the matrix doesn't reset on each run // http://dev.processing.org/bugs/show_bug.cgi?id=1227 popMatrix(); - - // This needs to be overridden so that the endDraw() from PGraphicsJava2D - // is not inherited (it calls loadPixels). - // http://dev.processing.org/bugs/show_bug.cgi?id=1169 }