- use assetKey.toString() in TextureAtlas to account for flipped textures

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9053 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent bfa0bf6a1e
commit 5a451b3aa6
  1. 4
      engine/src/tools/jme3tools/optimize/TextureAtlas.java

@ -91,7 +91,7 @@ public class TextureAtlas {
}
if (diffuse != null && diffuse.getKey() != null) {
String keyName = diffuse.getKey().getName();
String keyName = diffuse.getKey().toString();
if (!addTexture(diffuse, "DiffuseMap")) {
return false;
} else {
@ -165,7 +165,7 @@ public class TextureAtlas {
}
AssetKey key = texture.getKey();
if (key != null) {
return key.getName();
return key.toString();
} else {
return null;
}

Loading…
Cancel
Save