Skip to content

Commit

Permalink
fix(TiledGeometryLayer): replace get data by the new getPropertyArray
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin ETOURNEAU authored and jailln committed Oct 3, 2024
1 parent 837c044 commit ec665c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layer/OGC3DTilesLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class OGC3DTilesLayer extends GeometryLayer {

// Setup classification bufferAttribute
if (model.isPoints) {
const classificationData = batchTable?.getData('Classification');
const classificationData = batchTable?.getPropertyArray('Classification');
if (classificationData) {
geometry.setAttribute('classification',
new THREE.BufferAttribute(classificationData, 1),
Expand Down

0 comments on commit ec665c3

Please sign in to comment.