System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.09
Blender Version
Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-05-02 09:18, hash: rBf0f44fd92f1
Short description of error
Going through old reports. It seems as though some software or existing .obj files may be using quotes surrounding their material library names.
There's nothing in the spec in this regard really but a decision was made for the python importer to deal with it...
Exact steps for others to reproduce the error
- Load the provided .obj with .mtl file from T67266
- Observe failure to load the library
OBJ import: cannot read from MTL file: 'G:\triage\"name with blanks.mtl"'
Note After D14822 is checked in that particular test will work by accident since another material library, with a proper name, will be added implicitly. However, the scenario won't work generally.
Inside the OBJ file it looks like mtllib "name with blanks.mtl"