workaround for #972

This commit is contained in:
m-schuetz 2021-02-12 13:03:29 +01:00
parent 4a306627a0
commit 0a36bb372f

View File

@ -138,8 +138,8 @@
// wait until this point cloud is loaded before processing the next one
let pointcloud = (await promises[i]).pointcloud;
viewer.scene.addPointCloud(pointcloud);
pointclouds[i].callback(pointcloud);
viewer.scene.addPointCloud(pointcloud);
}