Explorar o código

Material library QoL

clandrin %!s(int64=2) %!d(string=hai) anos
pai
achega
6d869e3068
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      hxd/fmt/hmd/Library.hx

+ 1 - 3
hxd/fmt/hmd/Library.hx

@@ -280,9 +280,7 @@ class Library {
 			try {
 				if ( setupMaterialLibrary(mat, hxd.res.Loader.currentInstance.load((props:Dynamic).__ref).toPrefab(), (props:Dynamic).name) )
 					return mat;
-			} catch( e : hxd.res.NotFound ) {
-				e.path += " (in "+resource.entry.path+"@"+mat.name+")";
-				throw e;
+			} catch( e : Dynamic ) {
 			}
 		}
 		#end