Merge pull request #392 from NemesisMate/patch-4
Fixed a possible bug in TextureAtlas.java
This commit is contained in:
commit
72423b682e
@ -155,7 +155,7 @@ public class TextureAtlas {
|
|||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
if (normal != null && normal.getKey() != null) {
|
if (normal != null && normal.getKey() != null) {
|
||||||
addTexture(diffuse, "NormalMap", keyName);
|
addTexture(normal, "NormalMap", keyName);
|
||||||
}
|
}
|
||||||
if (specular != null && specular.getKey() != null) {
|
if (specular != null && specular.getKey() != null) {
|
||||||
addTexture(specular, "SpecularMap", keyName);
|
addTexture(specular, "SpecularMap", keyName);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user