Skip to content

Check UID to disable "Set as Main Scene" in FileSystemDock #107686

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

Merged

Conversation

vaner-org
Copy link
Contributor

@vaner-org vaner-org commented Jun 18, 2025

Correctly removes "Set as Main Scene" in FileSystemDock's right-click menu for when main scene was set with a uid:// path.

At the moment, Set as Main Scene's if statement expects a res:// path, which means for any way in the editor that a main scene is set after 4.4, the right-click option for "Set as Main Scene" always remains, including when set from the option itself.

@vaner-org vaner-org requested a review from a team as a code owner June 18, 2025 23:23
@AThousandShips AThousandShips added this to the 4.5 milestone Jun 19, 2025
@vaner-org vaner-org force-pushed the filesystem-main-scene-check-uid branch from f612e5a to 2a8ab47 Compare June 20, 2025 14:05
Correctly removes "Set as Main Scene" in FileSystemDock's right-click menu for when main scene was set with a uid:// path.
@vaner-org vaner-org force-pushed the filesystem-main-scene-check-uid branch from 2a8ab47 to 472bc68 Compare June 20, 2025 14:07
@akien-mga akien-mga merged commit e1d3fe8 into godotengine:master Jun 21, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@vaner-org vaner-org deleted the filesystem-main-scene-check-uid branch June 21, 2025 09:44
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.

4 participants