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 crash when ProgressDialog is outside tree #102237

Merged

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Jan 31, 2025

Fixes #102205

Copy link
Member

@AThousandShips AThousandShips left a comment

Choose a reason for hiding this comment

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

LGTM

@Chaosus
Copy link
Member

Chaosus commented Feb 1, 2025

The fix is ok, but we need to prevent this error from happening at all (I mean, prevent emitting an error to console when modify the compute shader externally).

@KoBeWi
Copy link
Member Author

KoBeWi commented Feb 1, 2025

The fix is ok, but we need to prevent this error from happening at all

And that's what the fix does. The ERR_FAIL is just extra safeguard. If we ever see this error, it means something is wrong and needs a further fix.

Copy link
Contributor

@Hilderin Hilderin left a comment

Choose a reason for hiding this comment

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

Sounds good to me!

@Repiteo Repiteo merged commit 79d6cdf into godotengine:master Feb 3, 2025
19 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Feb 3, 2025

Thanks!

@KoBeWi KoBeWi deleted the outside_tree_no_one_can_see_your_progress branch February 3, 2025 14:52
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.

Saving a previously invalid compute shader from an external editor crashes the Godot editor
5 participants