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

Fix a few cases where surface format is still 32 bits #83169

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

clayjohn
Copy link
Member

May help: #82890

While debugging #82890 I noticed that some of the importers set surfaces in the mesh and then read back using "mesh_get_format" which returns the Surface.format, not SurfaceData.format. When converting to Surface.format, we are losing the upper bits which contain the version. Which leads to the mesh version getting lost.

I'm not sure that it will fix #82890, but it is a necessary change.

@akien-mga akien-mga merged commit f2f6f99 into godotengine:master Oct 11, 2023
14 of 15 checks passed
@akien-mga
Copy link
Member

Thanks!

@clayjohn clayjohn deleted the Mesh-format branch October 11, 2023 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Imported models are flat.
2 participants