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

ProjectSettings: use RBMap again instead of HashMap #61110

Merged
merged 1 commit into from
May 17, 2022

Conversation

rburing
Copy link
Member

@rburing rburing commented May 17, 2022

Fixes corruption of project.godot and failure to load global classes introduced by #60999.

Fixes #61084

(The minimal reproduction project there has a corrupted project.godot, which can be fixed by moving the _global_script_classes and _global_script_class_icons up, outside of the [application] section.)

@rburing rburing requested a review from a team as a code owner May 17, 2022 09:17
@akien-mga akien-mga added this to the 4.0 milestone May 17, 2022
@akien-mga
Copy link
Member

Might be worth adding a comment to make explicit why RBMap needs to be used for those.

This fixes corruption of project.godot and failure to load global classes.
@rburing rburing force-pushed the project_settings_use_rbmap branch from 79fe287 to 9d9b508 Compare May 17, 2022 12:51
@rburing
Copy link
Member Author

rburing commented May 17, 2022

Done.

@akien-mga akien-mga merged commit 7ea8cde into godotengine:master May 17, 2022
@akien-mga
Copy link
Member

Thanks!

@rburing rburing deleted the project_settings_use_rbmap branch May 17, 2022 14:43
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.

Regression: classes "not declared in the current scope" on runtime only
2 participants