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

Scan after generating project #723

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Scan after generating project #723

merged 1 commit into from
Nov 6, 2024

Conversation

CedNaru
Copy link
Member

@CedNaru CedNaru commented Oct 12, 2024

Minor fix for the JVM project generation.
I realized that after generating the project, the files weren't appearing in the Godot editor.
The reason is that Godot only refresh its filesystem automatically when you unfocus the editor and focus it again.

The assumption is that the user left the Godot window to use some external tools that can potentially change files in the project. But for any changes made by Godot itself, you have to manually call the scanner. The reason is so the editor doesn't constantly check the file system for changes but only do it on demand.

@CedNaru CedNaru merged commit 925dcf8 into master Nov 6, 2024
57 checks passed
@CedNaru CedNaru deleted the editor/rescan_file_system branch November 6, 2024 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants