texture map fix
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good

This commit is contained in:
austin 2024-09-02 12:20:31 -04:00
parent 67a90d1e02
commit 6e47b585b2

View File

@ -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;
}
}