Bug report:MilkToJme problem on linux / anisotropic Txt. bug

MilkToJme.java v1.16:



line 142:



inFile.readFully(tempChar,0,128);
            TextureState texState=null;
            String texFile=cutAtNull(tempChar);
            if (texFile.length()!=0){
                texState=DisplaySystem.getDisplaySystem().getRenderer().createTextureState();
                Texture tempTex=new Texture();
 ...   
             



gives problems under linux(maybe win32 too), because it copies some characters with the texture name. (".")



TextureManager.java v1.35:

line 162:


   public static com.jme.image.Texture loadTexture(URL file, int minFilter,
            int magFilter,
            float anisoLevel,
            boolean flipped) {
        return loadTexture(file, minFilter, magFilter, -1, 1.0f, true);
    }
 



should be:


   public static com.jme.image.Texture loadTexture(URL file, int minFilter,
            int magFilter,
            float anisoLevel,
            boolean flipped) {
        return loadTexture(file, minFilter, magFilter, -1, anisoLevel, true);
    }
 



Bye the way, nice work guys!!!

Best Regards,
Thomas

Thanks Thomas.

committed.