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:
parent
c909219a4e
commit
c6fe6a2064
@ -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…
x
Reference in New Issue
Block a user