Skip to content

Commit

Permalink
trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Jan 12, 2025
1 parent efa0fbd commit 67641dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/three/TilesRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -644,12 +644,12 @@ export class TilesRenderer extends TilesRendererBase {
case 'glb': {

const loader = manager.getHandler( 'path.gltf' ) || manager.getHandler( 'path.glb' ) || new GLTFLoader( manager );
loader.setWithCredentials( fetchOptions.credentials === 'include' );
loader.setWithCredentials( fetchOptions.credentials === 'include' );
loader.setRequestHeader( fetchOptions.headers || {} );
if ( fetchOptions.credentials === 'include' && fetchOptions.mode === 'cors' ) {

loader.setCrossOrigin( 'use-credentials' );

}

// assume any pre-registered loader has paths configured as the user desires, but if we're making
Expand Down

0 comments on commit 67641dd

Please sign in to comment.