- 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:
parent
bfa0bf6a1e
commit
5a451b3aa6
@ -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…
x
Reference in New Issue
Block a user