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
When using the Loader3D class to read in an .obj file with a corresponding .mtl file, I received a reference error on line 485 of src/away3d/loaders/Loader3D.as. Upon investigation, I found that the code assumes that the url variable contains a separator (a '/' or ''). If one is not found, the pathArray is not initialized and the call the pop() attempts to access a null variable.
As a work around, I was able to supply "./" at the beginning of the URL to properly load my 3D object. I'm not sure if core-fp10 is still being maintained but I still have a use for it so I will submit a patch for you to optionally include if you feel it's worth it.
The text was updated successfully, but these errors were encountered:
When using the Loader3D class to read in an .obj file with a corresponding .mtl file, I received a reference error on line 485 of src/away3d/loaders/Loader3D.as. Upon investigation, I found that the code assumes that the url variable contains a separator (a '/' or ''). If one is not found, the pathArray is not initialized and the call the pop() attempts to access a null variable.
As a work around, I was able to supply "./" at the beginning of the URL to properly load my 3D object. I'm not sure if core-fp10 is still being maintained but I still have a use for it so I will submit a patch for you to optionally include if you feel it's worth it.
The text was updated successfully, but these errors were encountered: