diff --git a/src/viewer/profile.js b/src/viewer/profile.js index 354d6eed..d32394db 100644 --- a/src/viewer/profile.js +++ b/src/viewer/profile.js @@ -711,6 +711,10 @@ export class ProfileWindow extends EventDispatcher { addPoints (pointcloud, points) { + if(points.numPoints === 0){ + return; + } + let entry = this.pointclouds.get(pointcloud); if(!entry){ entry = new ProfileFakeOctree(pointcloud);