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

Restore metadata to script create dialog #69443

Merged
merged 2 commits into from
Dec 1, 2022

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Dec 1, 2022

#53957 used a small trick to store editor-wide settings in a way that isn't exposed to the settings dialog. It used metadata and was later broken after #59452, because it made slashes no longer allowed in metadata names. The errors were fixed in #59603, but it was not a correct fix, because it made the choices no longer remembered between sessions.

This PR reverts #59603 and fixes the original problem, i.e. invalid metadata names.
Fixes #67988
Supersedes #68045

@KoBeWi KoBeWi added this to the 4.0 milestone Dec 1, 2022
@KoBeWi KoBeWi requested a review from a team December 1, 2022 13:48
@akien-mga
Copy link
Member

To see the fix properly, it could be meaning to have this as two commits: One git revert bb5198a5ac92a6fe699751df9bb9c09109a2955a, and then a commit with the fix for the original bug.
If that's too bothersome to make though, don't worry.

@akien-mga akien-mga merged commit 9ace494 into godotengine:master Dec 1, 2022
@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.

Disabling script template is not remembered after editor restart
2 participants