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
Calling fastgltf::FileExporter::setBufferPath with "." and adding a buffer named "test" results in the buffer URI having a backslash as separator in the generated glTF file:
Calling
fastgltf::FileExporter::setBufferPath
with"."
and adding a buffer named "test" results in the buffer URI having a backslash as separator in the generated glTF file:However, URIs are expected to only ever use forward slashes as separators.
This makes the glTF file invalid.
After going through the code, I believe that this issue is caused by the use of std::filesystem::path::string (which uses the native separators) instead of std::filesystem::path::generic_string (which always uses forward slashes as separators).
The text was updated successfully, but these errors were encountered: