fixed invalid global var access
This commit is contained in:
parent
b70f943f2b
commit
e5c0a73d53
@ -2796,7 +2796,7 @@ Potree.PointCloudOctree.prototype.getPointsInProfile = function(profile, maxDept
|
||||
for(var i = 0; i < profile.points.length - 1; i++){
|
||||
var start = profile.points[i];
|
||||
var end = profile.points[i+1];
|
||||
var ps = pointcloud.getProfile(start, end, profile.width, maxDepth);
|
||||
var ps = this.getProfile(start, end, profile.width, maxDepth);
|
||||
for(var j = 0; j < ps.length; j++){
|
||||
points.push(ps[j]);
|
||||
}
|
||||
|
||||
2
build/js/potree.min.js
vendored
2
build/js/potree.min.js
vendored
File diff suppressed because one or more lines are too long
@ -629,7 +629,7 @@ Potree.PointCloudOctree.prototype.getPointsInProfile = function(profile, maxDept
|
||||
for(var i = 0; i < profile.points.length - 1; i++){
|
||||
var start = profile.points[i];
|
||||
var end = profile.points[i+1];
|
||||
var ps = pointcloud.getProfile(start, end, profile.width, maxDepth);
|
||||
var ps = this.getProfile(start, end, profile.width, maxDepth);
|
||||
for(var j = 0; j < ps.length; j++){
|
||||
points.push(ps[j]);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user