mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
SpriteFramesEditor Incorrect texture type fix
This commit is contained in:
parent
894e2fddda
commit
93a95ae84a
1 changed files with 1 additions and 1 deletions
|
|
@ -821,7 +821,7 @@ void SpriteFramesEditor::_update_library(bool p_skip_selector) {
|
|||
|
||||
for (int i = 0; i < frames->get_frame_count(edited_anim); i++) {
|
||||
String name;
|
||||
Ref<Texture> frame = frames->get_frame(edited_anim, i);
|
||||
Ref<Texture2D> frame = frames->get_frame(edited_anim, i);
|
||||
|
||||
if (frame.is_null()) {
|
||||
name = itos(i) + ": " + TTR("(empty)");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue