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

Make scan for projects threaded #91064

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Apr 23, 2024

Closes #5953

godot.windows.editor.dev.x86_64_mE59gwoOhL.mp4

@KoBeWi KoBeWi added this to the 4.x milestone Apr 23, 2024
@KoBeWi KoBeWi requested a review from a team as a code owner April 23, 2024 13:38
@@ -61,7 +61,7 @@ void ProgressBar::_notification(int p_what) {
Size2 size = get_size();
real_t fill_size = MIN(size.width, size.height) * 2;

if (Engine::get_singleton()->is_editor_hint() && !editor_preview_indeterminate) {
if (is_part_of_edited_scene() && !editor_preview_indeterminate) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes were needed to run indeterminate progress in Project Manager.
Looking at the code, I don't get how it already works in the editor (in template download).

Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, let's merge early on for 4.4.

@akien-mga akien-mga modified the milestones: 4.x, 4.4 May 29, 2024
@arkology
Copy link
Contributor

arkology commented Dec 7, 2024

Is this one still good for merging into early 4.4?)

editor/project_manager/project_list.cpp Outdated Show resolved Hide resolved
@KoBeWi KoBeWi requested a review from a team as a code owner December 7, 2024 11:59
@Repiteo Repiteo merged commit e0968ee into godotengine:master Dec 12, 2024
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Dec 12, 2024

Thanks!

@KoBeWi KoBeWi deleted the scan_everything branch December 12, 2024 22:53
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.

Project manager scan should run in a thread to keep responsive UI
5 participants