Преглед изворни кода

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

shadowislord пре 10 година
родитељ
комит
fdf050c13d
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java

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