- 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
This commit is contained in:
nor..67 2012-01-15 05:03:33 +00:00
parent bfa0bf6a1e
commit 5a451b3aa6

View File

@ -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;
}