unitycoder/UnityPointCloudViewer

point picking, previous pick is discarded (if pick again before it has finished)

unitycoder opened this issue · 1 comments

In the newer versions, the single point picking uses 2 threads. However, it overwrites itself if you call it too quickly.

The previous versions you could call this simultaneously and get multiple results. Now it can only get one result unless you wait until completion to call again.

Can you update this so it can be called simultaneously? I'm thinking something like a dictionary of the threads+ associated data so they all still stay alive?

https://forum.unity.com/threads/released-point-cloud-viewer-tools.240536/page-18#post-9749956

could add queue for clicks, then can click many times (if want to allow that),
while multiple threads are calculating results.