texture map fix
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
This commit is contained in:
parent
67a90d1e02
commit
6e47b585b2
@ -337,9 +337,9 @@ public class AssetManager {
|
||||
File[] children = containingDirectory.listFiles();
|
||||
if(children != null){
|
||||
for(File child : children){
|
||||
if(child.getName().equals("texturemap.json") && !child.getName().contains(".\\assets")){
|
||||
if(child.getName().equals("texturemap.json")){
|
||||
String rVal = child.getPath();
|
||||
String fixed = rVal.replace(".\\assets", "");
|
||||
String fixed = rVal.replace(".\\assets", "").replace("./assets", "");
|
||||
return fixed;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user