Skip to content

Commit 083be57

Browse files
authored
GLTFLoader: Fix to handle reject on afterRoot (mrdoob#26852)
1 parent 2d1695e commit 083be57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: examples/jsm/loaders/GLTFLoader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2544,7 +2544,7 @@ class GLTFParser {
25442544

25452545
assignExtrasToUserData( result, json );
25462546

2547-
Promise.all( parser._invokeAll( function ( ext ) {
2547+
return Promise.all( parser._invokeAll( function ( ext ) {
25482548

25492549
return ext.afterRoot && ext.afterRoot( result );
25502550

0 commit comments

Comments
 (0)