Просмотр исходного кода

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

shadowislord 10 лет назад
Родитель
Сommit
fdf050c13d

+ 1 - 0
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{