-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
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
Editor: Fix AtlasTexture editor previews for compressed textures #102559
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will not work for nested AtlasTexture
. while
loop will be required.
tbh we need a helper method to get final atlas of AtlasTexture. There are more places where we don't support nested AtlasTextures. |
86e0f30
to
3084ed4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't reproduce black preview (or any preview at all), but it fixes the error.
@KoBeWi I've added an MRP for you. If you select the ![]() Also note that the ![]() |
Thanks! |
This PR resolves errors in the Godot Editor when working with an AtlasTexture resource that uses a compressed image format. The specific error is:
When the texture is compressed, the preview in the File Manager and the Inspector are black:
MRP
mpr.zip