J3MLoader: set texture name in addition to key when loading it

experimental
shadowislord 10 years ago
parent f0fbdffb85
commit fdf050c13d
  1. 1
      jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java

@ -175,6 +175,7 @@ public class J3MLoader implements AssetLoader {
tex.setWrap(WrapMode.Repeat);
}
tex.setKey(texKey);
tex.setName(texKey.getName());
}
return tex;
}else{

Loading…
Cancel
Save