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

[3.x] VariantParser make readahead optional #69963

Merged

Conversation

lawnjelly
Copy link
Member

It turns out some areas are independently moving / reading filepointers outside of the VariantParser, which can cause the readahead caching to get out of sync.

This PR makes the VariantParser readahead to be optional to allow for these use cases.

Fixes #69794 (for 3.x)
3.x version of #69961

It turns out some areas are independently moving / reading filepointers outside of the VariantParser, which can cause the readahead caching to get out of sync.

This PR makes the VariantParser readahead to be optional to allow for these use cases.
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

I confirm that this fixes #69794 in 3.x.

@akien-mga akien-mga merged commit 5d5f0a3 into godotengine:3.x Dec 12, 2022
@akien-mga
Copy link
Member

Thanks!

@lawnjelly lawnjelly deleted the variant_parser_optional_readahead_3 branch December 12, 2022 18:09
@akien-mga akien-mga changed the title VariantParser make readahead optional [3.x] [3.x] VariantParser make readahead optional Sep 9, 2024
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.

2 participants