Changed ImageBasedHeightMap to use ImageRaster.create() instead of JmeSystem

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10026 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
bre..om 2012-12-12 22:56:49 +00:00
parent c909219a4e
commit c6fe6a2064

View File

@ -98,7 +98,7 @@ public class ImageBasedHeightMap extends AbstractHeightMap implements ImageHeigh
}
protected ImageRaster getImageRaster() {
return JmeSystem.createImageRaster(colorImage, 0);
return ImageRaster.create(colorImage);
}
public boolean load(boolean flipX, boolean flipY) {