Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporter does not correctly handle meshes linked from another blend file #58

Open
stevenvergenz opened this issue Feb 9, 2017 · 3 comments
Labels

Comments

@stevenvergenz
Copy link
Contributor

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.

@Kupoman Kupoman added the bug label Feb 11, 2017
@Kupoman Kupoman added this to the 1.0 milestone Feb 11, 2017
@stevenvergenz
Copy link
Contributor Author

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

@Kupoman Kupoman modified the milestones: 1.0, 1.2 Performance and References Aug 11, 2017
@Moguri Moguri modified the milestones: v1.3, v1.2 Oct 16, 2017
@Moguri
Copy link
Collaborator

Moguri commented Dec 3, 2017

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

@Kupoman Kupoman removed this from the v1.2 milestone Mar 4, 2018
@Kupoman
Copy link
Owner

Kupoman commented Mar 4, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants