diff --git a/src/plugins/three/TileCompressionPlugin.js b/src/plugins/three/TileCompressionPlugin.js index 2f834c3a0..cdd120c43 100644 --- a/src/plugins/three/TileCompressionPlugin.js +++ b/src/plugins/three/TileCompressionPlugin.js @@ -167,7 +167,7 @@ export class TileCompressionPlugin { // handle geometry attribute compression if ( c.geometry ) { - let geometry = c.geometry; + const geometry = c.geometry; const attributes = geometry.attributes; if ( compressUvs ) {