diff --git a/src/viewer/profile.js b/src/viewer/profile.js index 13d3163f..64854a62 100644 --- a/src/viewer/profile.js +++ b/src/viewer/profile.js @@ -104,6 +104,8 @@ class ProfilePointCloudEntry{ attribute.updateRange.count = updateRange.count; attribute.needsUpdate = true; } + this.currentBatch.geometry.computeBoundingBox(); + this.currentBatch.geometry.computeBoundingSphere(); createNewBatch(); updateRange = {