If a DDS texture image contains generated mipmap image and it is loaded with Non-mipmap option like MinificationFilter.BilinearNoMipMaps, No texture is shown when filter option is changed to mipmap option in runtime
Index: src/com/jme/scene/state/lwjgl/LWJGLTextureState.java
===================================================================
--- src/com/jme/scene/state/lwjgl/LWJGLTextureState.java (revision 4471)
+++ src/com/jme/scene/state/lwjgl/LWJGLTextureState.java (working copy)
@@ -684,7 +684,7 @@
if (mipSizes == null) {
mipSizes = new int[] { data.capacity() };
- } else if (texture.getMinificationFilter().usesMipMapLevels()) {
+ } else {
max = mipSizes.length;
}