Closed VegarRingdalAibel closed 2 years ago
Hi @VegarRingdalAibel! Thanks for the report. Sounds like a bug. Are you interested in submitting a PR with the fix? I think we just need a change in two places. One here to pass a copy of the BufferGeometry.groups object to the web worker:
And one around here to assign the groups to the new geometry object:
Did a PR, you can have a look/make edits if you feel something should be changed :-)
Hi
I just tried to replace
geometry.computeBoundsTree()
with the workers, but getting weird results when I try and highlight data by using parts of the index groups in merged geometry.Its like worker does not take into account groups of merged geometry. Or maybe I just have messed up something else 😂