From 62eb46f802bae3e981012aff850b3441f9e51b98 Mon Sep 17 00:00:00 2001 From: m-schuetz Date: Thu, 7 Dec 2017 12:13:49 +0100 Subject: [PATCH] fix profile window rendering --- src/viewer/profile.js | 2 ++ 1 file changed, 2 insertions(+) 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 = {