2
0
Эх сурвалжийг харах

Throw load texture error with model path if any.

clementlandrin 1 жил өмнө
parent
commit
5b6326958d

+ 1 - 1
h3d/prim/ModelCache.hx

@@ -106,7 +106,7 @@ class ModelCache {
 				tres = hxd.res.Loader.currentInstance.load(path);
 			} catch( e : hxd.res.NotFound ) {
 				// force good path error
-				throw error;
+				throw error + (model != null ? " fullpath : " + fullPath : "");
 			}
 		}
 		var img = tres.toImage();