Skip to content

Commit 636492c

Browse files
authored
Update TilesRendererBase.js
1 parent d0d97e3 commit 636492c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/TilesRendererBase.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export class TilesRendererBase {
221221

222222
// "content" should only indicate loadable meshes, not external tile sets
223223
const extension = getUrlExtension( tile.content.uri );
224-
const isExternalTileSet = extension && extension.toLowerCase() === 'json';
224+
const isExternalTileSet = Boolean( extension && extension.toLowerCase() === 'json' );
225225
tile.__externalTileSet = isExternalTileSet;
226226
tile.__contentEmpty = isExternalTileSet;
227227

0 commit comments

Comments
 (0)