瀏覽代碼

Material library QoL

clandrin 2 年之前
父節點
當前提交
6d869e3068
共有 1 個文件被更改,包括 1 次插入3 次删除
  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