Browse Source

LODs: fix lods config shadowing

lviguier 1 month ago
parent
commit
56999b07ce
1 changed files with 0 additions and 2 deletions
  1. 0 2
      h3d/prim/HMDModel.hx

+ 0 - 2
h3d/prim/HMDModel.hx

@@ -356,8 +356,6 @@ class HMDModel extends MeshPrimitive {
 			return lodConfig;
 
 		var d = lib.resource.entry.directory;
-		if (d.indexOf('res/') < 0)
-			d = 'res/$d';
 		lodConfig = @:privateAccess ModelDatabase.current.getDefaultLodConfig(d);
 		return lodConfig;
 	}