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

Replace get_settings_dir with get_config_dir when fetching configuration paths #49282

Merged
merged 1 commit into from
Jun 3, 2021

Conversation

YuriSizov
Copy link
Contributor

Fixes #49257. This issue was also appearing with other things, like script templates (if you try to create a new GDScript script without this fix you won't get any templates suggested).

This regression happened in #49050 as editor paths were refactored. According to @reduz get_settings_dir is outdated and get_config_dir should be used instead (they are equivalent — settings_dir used to point to the same directory, and after #49050 it wasn't set anymore, hence this issue).

@YuriSizov YuriSizov added this to the 4.0 milestone Jun 3, 2021
@YuriSizov YuriSizov requested a review from a team as a code owner June 3, 2021 15:28
@akien-mga akien-mga merged commit 932ab0c into godotengine:master Jun 3, 2021
@akien-mga
Copy link
Member

Thanks!

@YuriSizov YuriSizov deleted the editor-fix-broken-paths branch June 3, 2021 19:14
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.

Creating editor feature profiles doesn't work
2 participants