Open intrida-dev opened 1 month ago
This looks like an issue with the 3rd-party library, loaders.gl, which we use for loading LAS/LAZ.
We've never developed any xeokit applications on Electron unfortunately, so I'm not sure what to suggest, but I recommend logging the issue with their repo.
Sure, I am going to report this to them. Thanks :-)
We have an application which is built only to run in ElectronJS. Recently we implemented Las/Laz loading capability and found that it doesn't work in ElectronJS App. We get following error:![image](https://github.com/xeokit/xeokit-sdk/assets/73640257/8d346b5e-3a54-4d33-a234-c33e3b85c2e4)
But we can load the same model with same code when it is viewed in browser. I have attached a video explaining this issue.
https://github.com/xeokit/xeokit-sdk/assets/73640257/75ae3087-cfd5-45bd-b228-2e128592690f
We debugged a little and found an issue in canParseWithWorker function. If statement at line number 108996 evaluates to true, when it is from Electron.![image](https://github.com/xeokit/xeokit-sdk/assets/73640257/145ae717-b6a1-4890-8d0e-62d59e06c015)
Also I have attached a sample code in zip. sample.zip
To Reproduce Steps to reproduce the behavior: