For some reason the J3MLoader never loads the material name. Not that it's really important, but since we have the name field... let's read it...
This commit is contained in:
parent
f83c7006f0
commit
cb56fd88eb
@ -637,6 +637,7 @@ public class J3MLoader implements AssetLoader {
|
|||||||
|
|
||||||
material = new Material(def);
|
material = new Material(def);
|
||||||
material.setKey(key);
|
material.setKey(key);
|
||||||
|
material.setName(split[0].trim());
|
||||||
// material.setAssetName(fileName);
|
// material.setAssetName(fileName);
|
||||||
}else if (split.length == 1){
|
}else if (split.length == 1){
|
||||||
if (extending){
|
if (extending){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user