fix undefined issue in scene.estimateHeightAt()

This commit is contained in:
m-schuetz 2017-06-28 20:43:33 +02:00
parent 8b1dfece50
commit fab02915cf

View File

@ -159,6 +159,10 @@ Potree.Scene = class extends THREE.EventDispatcher{
for(let pointcloud of this.pointclouds){
if(pointcloud.root.geometryNode === undefined){
continue;
}
let pHeight = null;
let pFromSpacing = null;