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

ObjectLoader reports image load errors to LoadingManager (#9474)

satori99 9 жил өмнө
parent
commit
f61022d7d1

+ 4 - 0
src/loaders/ObjectLoader.js

@@ -353,6 +353,10 @@ Object.assign( ObjectLoader.prototype, {
 
 				scope.manager.itemEnd( url );
 
+			}, undefined, function () {
+
+				scope.manager.itemError( url );
+
 			} );
 
 		}