Merge pull request #392 from NemesisMate/patch-4

Fixed a possible bug in TextureAtlas.java
experimental
Kirill Vainer 9 years ago
commit 72423b682e
  1. 2
      jme3-core/src/tools/java/jme3tools/optimize/TextureAtlas.java

@ -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…
Cancel
Save