Skip to content

Fix resizing error when generating thumbnails #107934

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
merged 1 commit into from
Jun 24, 2025

Conversation

beicause
Copy link
Contributor

Fixes regression from #107818:
When generating thumbnails with high aspect (such as GradientTexture1D), the error occurs:

ERROR: Image height must be greater than 0. at: resize (./core/io/image.cpp:1140)

@akien-mga akien-mga added this to the 4.5 milestone Jun 24, 2025
@Repiteo Repiteo merged commit dee470c into godotengine:master Jun 24, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Jun 24, 2025

Thanks!

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.

3 participants