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

Export: workaround for #932 #961

Merged
merged 1 commit into from Mar 5, 2020
Merged

Export: workaround for #932 #961

merged 1 commit into from Mar 5, 2020

Conversation

scurest
Copy link
Contributor

@scurest scurest commented Mar 5, 2020

Adds a really simple workaround for #932.

We know the problem is accessing blender_mesh in gather_weights after calling gather_material from gather_primitives. So this just swaps the order of gather_weights and gather_primitives. Now blender_mesh is never accessed again after calling gather_material.

Removes the workaround from f2f3b83 so weights will get gathered again.

Removes the workaround added by f2f3b83.

Sometimes calling gather_material invalidates the blender_mesh
being used by gather_mesh.

This just swaps the order of gather_primitives and gather_weights.
The blender_mesh is now never accessed again after gather_material
is called.
@scurest scurest changed the title Import: workaround for #932 Export: workaround for #932 Mar 5, 2020
Copy link
Member

@emackey emackey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this and it looks good!

@emackey
Copy link
Member

emackey commented Mar 5, 2020

/cc #962

@julienduroure julienduroure merged commit 8bcef76 into KhronosGroup:master Mar 5, 2020
@scurest scurest deleted the iss932 branch March 5, 2020 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants