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

Don't use EditorSettings metadata #96616

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Sep 5, 2024

There is some usage of set_meta() for EditorSettings. It's supposed to store stuff globally, without exposing it to the user. While it's a nice hack, there is a better way to achieve this - properties starting with underscore.

This PR replaces all usage of metadata with underscored settings. There is no compatibility code to preserve the values, but nothing crucial was stored this way.
Also fixes some wrongly used notifications in script create dialog.

Effectively fixes #92814

@KoBeWi KoBeWi added this to the 4.x milestone Sep 5, 2024
@akien-mga akien-mga modified the milestones: 4.x, 4.4 Sep 5, 2024
@akien-mga akien-mga merged commit 835808e into godotengine:master Sep 5, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

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.

Metadata category shows in editor settings
2 participants