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

This commit is contained in:
shadowislord 2015-03-27 21:38:56 -04:00
parent f0fbdffb85
commit fdf050c13d

View File

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