diff --git a/examples/jsm/loaders/GLTFLoader.js b/examples/jsm/loaders/GLTFLoader.js index c13d0d415df47a..d8f9b80462f0ba 100644 --- a/examples/jsm/loaders/GLTFLoader.js +++ b/examples/jsm/loaders/GLTFLoader.js @@ -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 );