add break
This commit is contained in:
parent
48259ee5b2
commit
4cbc92dded
@ -2338,6 +2338,7 @@ Potree.PointCloudOctree.prototype.update = function(camera, renderer){
|
||||
for(var j = 0; j < this.visibleGeometry.length; j++){
|
||||
if(this.visibleGeometry[j].node.name === child.name){
|
||||
stack.push({node: child, weight: this.visibleGeometry[j].weight});
|
||||
break;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@ -171,6 +171,7 @@ Potree.PointCloudOctree.prototype.update = function(camera, renderer){
|
||||
for(var j = 0; j < this.visibleGeometry.length; j++){
|
||||
if(this.visibleGeometry[j].node.name === child.name){
|
||||
stack.push({node: child, weight: this.visibleGeometry[j].weight});
|
||||
break;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user