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

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10026 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
bre..om 12 years ago
parent c909219a4e
commit c6fe6a2064
  1. 2
      engine/src/terrain/com/jme3/terrain/heightmap/ImageBasedHeightMap.java

@ -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) {

Loading…
Cancel
Save