CaveView.js
CaveView.js copied to clipboard
Cannot read property 'addById' of undefined and Invalid typed array length: -1
Hello, I updated to the 1.12 release and I got the following error:
CaveView.js:41742 Uncaught TypeError: Cannot read property 'addById' of undefined
at readSurvey (CaveView.js:41742)
at readChunkHdr (CaveView.js:41695)
at loxHandler.parse (CaveView.js:41625)
at CaveLoader.callHandler (CaveView.js:42465)
at Object._dataLoaded [as onLoad] (CaveView.js:42349)
at XMLHttpRequest.
The model was working with previous releases. My URL is:
http://www.speleotoscana.it/orco-3d/
I also tried to load a model made by creating a .lox file from a .plt (Compass) file. I got another error:
CaveView.js:41768 Uncaught RangeError: Invalid typed array length: -1
at new Uint8Array (
I got the latest error also on previous versions of CaveView.
Any hint? Thanks
Hi,
Both these fixed in latest 1.12.2 (I may look at loading .plt files directly, the format is simple)