You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
But we can load the same model with same code when it is viewed in browser. I have attached a video explaining this issue.
Untitled.mp4
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.
Also I have attached a sample code in zip. sample.zip
To Reproduce
Steps to reproduce the behavior:
First place 'autzen.laz' sample model in models directory
Open the attached sample code in VS code and go to terminal
Execute 'npm install electron'
Run command 'npm start' to launch electronjs app.
See error on console
The text was updated successfully, but these errors were encountered:
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.
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://private-user-images.githubusercontent.com/73640257/329126363-8d346b5e-3a54-4d33-a234-c33e3b85c2e4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMTY3MzQsIm5iZiI6MTcyNDMxNjQzNCwicGF0aCI6Ii83MzY0MDI1Ny8zMjkxMjYzNjMtOGQzNDZiNWUtM2E1NC00ZDMzLWEyMzQtYzMzZTNiODVjMmU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDA4NDcxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE0OGNhZGM5ZjM2ZTk1NDhkZWFmMjg1ODA2NWQxYzkxNmFkZGYwYmRhNGQwMzU1MmNmZjUxODk5Mjk2OWE0ZGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8glKvLy1-YolRy0p2j3qTFd7b6_Sw-rVzosPcrtiVc4)
But we can load the same model with same code when it is viewed in browser. I have attached a video explaining this issue.
Untitled.mp4
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://private-user-images.githubusercontent.com/73640257/329127015-145ae717-b6a1-4890-8d0e-62d59e06c015.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMTY3MzQsIm5iZiI6MTcyNDMxNjQzNCwicGF0aCI6Ii83MzY0MDI1Ny8zMjkxMjcwMTUtMTQ1YWU3MTctYjZhMS00ODkwLThkMGUtNjJkNTllMDZjMDE1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDA4NDcxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThmZjE1ZTBiOTcxNWM4MjlhMjg3NmM3NjA3Nzg1ZmM3YjE5NTYwMTExZTk1NDIxZDQ3NDJiMzAxYTJmNGVhZTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qxfG9GrFIKaQpgY2wEUif2Mm8NWRfOb9lH2l1mUV-no)
Also I have attached a sample code in zip.
sample.zip
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: