last changes while preparing release 77

This commit is contained in:
benfry
2005-03-01 19:36:12 +00:00
parent c8617c9237
commit 325064318a
8 changed files with 141 additions and 55 deletions

View File

@@ -556,7 +556,8 @@ public class PGraphics2 extends PGraphics {
ImageCache cash = (ImageCache) who.cache;
// if image previously was tinted, or the color changed
// or the image was tinted, and tint is now disabled
if ((tint && (!cash.tinted || (cash.tintedColor != tintColor))) ||
if ((tint && !cash.tinted) ||
(tint && (cash.tintedColor != tintColor)) ||
(!tint && cash.tinted)) {
// for tint change, mark all pixels as needing update
who.updatePixels();