Skip to content

Commit

Permalink
Update TilesRendererBase.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson authored Sep 6, 2021
1 parent d0d97e3 commit 636492c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/TilesRendererBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export class TilesRendererBase {

// "content" should only indicate loadable meshes, not external tile sets
const extension = getUrlExtension( tile.content.uri );
const isExternalTileSet = extension && extension.toLowerCase() === 'json';
const isExternalTileSet = Boolean( extension && extension.toLowerCase() === 'json' );
tile.__externalTileSet = isExternalTileSet;
tile.__contentEmpty = isExternalTileSet;

Expand Down

0 comments on commit 636492c

Please sign in to comment.