J3MLoader: set texture name in addition to key when loading it
This commit is contained in:
parent
f0fbdffb85
commit
fdf050c13d
@ -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{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user