Skip to content

Commit

Permalink
allow animation export via extension (#23810)
Browse files Browse the repository at this point in the history
  • Loading branch information
marwie authored Mar 31, 2022
1 parent 5ffa72a commit 6b11525
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/jsm/loaders/GLTFLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2580,7 +2580,11 @@ class GLTFParser {
break;

case 'animation':
dependency = this.loadAnimation( index );
dependency = this._invokeOne( function ( ext ) {

return ext.loadAnimation && ext.loadAnimation( index );

} );
break;

case 'camera':
Expand Down

0 comments on commit 6b11525

Please sign in to comment.