From f7a653088fc08971805852443deff337310945bf Mon Sep 17 00:00:00 2001 From: "Sha..rd" Date: Sun, 16 Sep 2012 01:51:17 +0000 Subject: [PATCH] * Put rangeCheck() back git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9743 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/core/com/jme3/texture/image/DefaultImageRaster.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/core/com/jme3/texture/image/DefaultImageRaster.java b/engine/src/core/com/jme3/texture/image/DefaultImageRaster.java index 40e7f6718..b4326341b 100644 --- a/engine/src/core/com/jme3/texture/image/DefaultImageRaster.java +++ b/engine/src/core/com/jme3/texture/image/DefaultImageRaster.java @@ -36,7 +36,7 @@ public class DefaultImageRaster extends ImageRaster { @Override public void setPixel(int x, int y, ColorRGBA color) { -// rangeCheck(x, y); + rangeCheck(x, y); // Check flags for grayscale if (codec.isGray) { @@ -71,7 +71,7 @@ public class DefaultImageRaster extends ImageRaster { @Override public ColorRGBA getPixel(int x, int y, ColorRGBA store) { -// rangeCheck(x, y); + rangeCheck(x, y); codec.readComponents(buffer, x, y, width, components, temp); if (store == null) {