fix exception when multi-segment profile request returns a segment without new points
This commit is contained in:
parent
f9d94d1840
commit
2c5f80aff4
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user