fix double slashes in URL

This commit is contained in:
mschuetz 2015-04-04 18:21:02 +02:00
parent b7746e3fb8
commit 2caa424694

View File

@ -57,6 +57,8 @@ Potree.PointCloudOctreeGeometryNode.prototype.getHierarchyPath = function(){
for(var i = 0; i < numParts; i++){
path += indices.substr(i * hierarchyStepSize, hierarchyStepSize) + "/";
}
path = path.slice(0,-1);
return path;
}