Browse Source

GLTFLoader: Call itemEnd before itemError.

Don McCurdy 7 năm trước cách đây
mục cha
commit
042a1933e1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      examples/js/loaders/GLTFLoader.js

+ 1 - 0
examples/js/loaders/GLTFLoader.js

@@ -43,6 +43,7 @@ THREE.GLTFLoader = ( function () {
 
 				}
 
+				scope.manager.itemEnd( itemGroup );
 				scope.manager.itemError( itemGroup );
 
 			};