The obj format lets you pass multiple material paths to the mtllib line:
mtllib filename1 filename2
So when we encounter a path with spaces like mtllib data/my folder/material.mtl it is treated as referencing two mtl files called data/my and folder/material.mtl. obj2gltf should be smarter about realizing when it's a path with spaces versus separate files.
The obj format lets you pass multiple material paths to the mtllib line:
mtllib filename1 filename2
So when we encounter a path with spaces like
mtllib data/my folder/material.mtl
it is treated as referencing two mtl files calleddata/my
andfolder/material.mtl
.obj2gltf
should be smarter about realizing when it's a path with spaces versus separate files.