Hi there.
I may have found a bug in the terrain.setDetailTexture(0, 16);
What happens is when i have created my terrain and I want to change the texture detail for a selected texture
I get this exception. Please help?
java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:398)
at java.nio.DirectFloatBufferU.get(DirectFloatBufferU.java:204)
at com.jmex.terrain.TerrainBlock.setDetailTexture(Unknown Source)
at com.jmex.terrain.TerrainPage.setDetailTexture(Unknown Source)
at com.jmex.terrain.TerrainPage.setDetailTexture(Unknown Source)
at com.mw3d.core.level.data.LevelTerrain.createTerrain(LevelTerrain.java:417)