Skip to content

Commit ec665c3

Browse files
Kevin ETOURNEAUjailln
Kevin ETOURNEAU
authored andcommitted
fix(TiledGeometryLayer): replace get data by the new getPropertyArray
1 parent 837c044 commit ec665c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Layer/OGC3DTilesLayer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ class OGC3DTilesLayer extends GeometryLayer {
292292

293293
// Setup classification bufferAttribute
294294
if (model.isPoints) {
295-
const classificationData = batchTable?.getData('Classification');
295+
const classificationData = batchTable?.getPropertyArray('Classification');
296296
if (classificationData) {
297297
geometry.setAttribute('classification',
298298
new THREE.BufferAttribute(classificationData, 1),

0 commit comments

Comments
 (0)