blendergltf icon indicating copy to clipboard operation
blendergltf copied to clipboard

Exporter does not correctly handle meshes linked from another blend file

Open stevenvergenz opened this issue 8 years ago • 3 comments

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.

stevenvergenz avatar Feb 09 '17 00:02 stevenvergenz

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).

stonehenge.zip

stevenvergenz avatar Apr 25 '17 20:04 stevenvergenz

Moguri/BlenderPanda#29 has another blend file that demonstrates linking issues.

Moguri avatar Dec 03 '17 04:12 Moguri

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.

Kupoman avatar Mar 04 '18 00:03 Kupoman