This commit is contained in:
Lukas Droste
2021-09-05 16:45:49 +02:00
parent 5c98948af5
commit 23fc1e8abd
5 changed files with 18 additions and 8 deletions

View File

@@ -100,6 +100,8 @@ namespace PointCloudWeb.Server.Models
maxPoints = Points.Count;
var takeEvery = Points.Count / maxPoints;
if (takeEvery < 1)
takeEvery = 1;
var count = 0;
for (var i = 0; i < Points.Count; i++)

View File

@@ -104,8 +104,8 @@ namespace PointCloudWeb.Server.Services
public void PointCloudCompleted(Guid id)
{
RegisterPointCloud(id);
GeneratePotreeData(id);
RegisterPointCloud(id);
}
}
}