Closed lilleyse closed 4 years ago
If the mtl file points to a texture as an absolute path then it appends the path to the mtl directory. I believe this regression happened in https://github.com/AnalyticalGraphicsInc/obj2gltf/commit/26db16d8920de3d8e9073e6b2ca2671bf5635c51 and may be fixed by changing path.join to path.resolve here.
path.join
path.resolve
If the mtl file points to a texture as an absolute path then it appends the path to the mtl directory. I believe this regression happened in https://github.com/AnalyticalGraphicsInc/obj2gltf/commit/26db16d8920de3d8e9073e6b2ca2671bf5635c51 and may be fixed by changing
path.join
topath.resolve
here.