Skip to content

Commit ce18aab

Browse files
committed
Fix a bug that prevents selection of 3D tiles objects
1 parent 6be754c commit ce18aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3dwebclient/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ function addEventListeners(layer) {
587587
if (!(object._content instanceof Cesium.Batched3DModel3DTileContent))
588588
return;
589589

590-
var idArray = object._batchTable.batchTableJson.id;
590+
var idArray = object._content._batchTable._batchValues;
591591
if (!Cesium.defined(idArray))
592592
return;
593593
var objectId = idArray[object._batchId];

0 commit comments

Comments
 (0)