godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.75k stars 21.12k forks source link

(TextureButton) Texture miniature does not update when redrawn in external program #82229

Open seppoday opened 1 year ago

seppoday commented 1 year ago

Godot version

4.2 dev 5

System information

Wiindows 10

Issue description

So I've changed texture in Photoshop, and it updated everywhere except here: image

Also if I delete that texture and drop it again problem is still there.

Reloading project fixes problem :)

Steps to reproduce

Try to add texture, then change it in some graphic program and save. Come back to Godot.

Minimal reproduction project

-

jsjtxietian commented 1 year ago

Not just TextureButton has this bug. I suspect it has something to do with Editor resource preview's preview cache mechanism.