Using BABYLON.SceneLoader.ImportMesh to load a model by the OBJ & MTL files, I get
XML Parsing Error: not well-formed
The loader passes the file as XML. I assume, the Content-Type is wrong/not set with setRequestHeader.
Times ago I used the extra OBJ/MTL loader from BJS and edited the .js file! Now I use BABYLON.SceneLoader.ImportMesh with
babylon.objFileLoader.min.js but I can’t find a
babylon.objFileLoader.js to edit (except an outdated version some were on the Web)
Could one show me the file or add the Content-Type in BJS?