Skip to content

Commit

Permalink
GLTFLoader: Fix to handle reject on afterRoot (mrdoob#26852)
Browse files Browse the repository at this point in the history
  • Loading branch information
MtBlue81 committed Sep 27, 2023
1 parent 2d1695e commit 083be57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/loaders/GLTFLoader.js
Expand Up @@ -2544,7 +2544,7 @@ class GLTFParser {

assignExtrasToUserData( result, json );

Promise.all( parser._invokeAll( function ( ext ) {
return Promise.all( parser._invokeAll( function ( ext ) {

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

Expand Down

0 comments on commit 083be57

Please sign in to comment.