blendergltf
blendergltf copied to clipboard
Exporter does not correctly handle meshes linked from another blend file
I'm not sure why this happens, I haven't had time to dig, but when you attempt to export objects linked from another file, the data is not added to the buffer, but the bytelength is still increased. So I ended up with the size of the output buffer being significantly smaller than buffer.byteLength
.
This bug (or a similar one) happens when attempting to export meshes with more than one user. For the attached scene, it outputs a binary blob of 1204 bytes, but the glTF file thinks it's 60KB+, and the first 59KB are unused (smallest buffer view offset is 59856).
Moguri/BlenderPanda#29 has another blend file that demonstrates linking issues.
While linking together blend files is an important workflow to support, I am going to drop this issue from the 1.2 release in favor of getting a release out soon.