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

Fix duplicated folder reference in Godot Editor after changing filename case #90280

Merged

Conversation

TheSofox
Copy link
Contributor

@TheSofox TheSofox commented Apr 5, 2024

Fixes #76021
EDIT: Also apparently fixes #22475

If the folder a Scene was in had the case of its name changed changed (either through deleting and recreating it in the editor, or changing in the OS), then in case-insensitive OS platforms (Windows, recent MacOS), saving that Scene would create duplicate folder references in the Godot editor.

This fixes that by checking whether the base folder of the Godot project is case sensitive or insensitive when seeing whether a new Editor folder will need to be created on Scene save.

@YeldhamDev YeldhamDev added this to the 4.3 milestone Apr 5, 2024
@akien-mga akien-mga added the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Apr 6, 2024
@akien-mga akien-mga merged commit 66dbe35 into godotengine:master Apr 6, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 4.2.2.

@akien-mga akien-mga removed the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants