diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-25 19:47:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 19:47:54 +0100 |
commit | a6fce87d20e83491b10d3fc58ff1141d59c20407 (patch) | |
tree | e05c1e1d2ec6a67948e80dd13a519a8116ce32f6 | |
parent | b82cb79c4e92718c7dca6a501ee2fd876ad1c999 (diff) | |
parent | 93a95ae84abf91513f40ef64f8fdd7e707e43f30 (diff) |
Merge pull request #57214 from kleonc/sprite_frames_editor_texture_type_fix
-rw-r--r-- | editor/plugins/sprite_frames_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/sprite_frames_editor_plugin.cpp b/editor/plugins/sprite_frames_editor_plugin.cpp index 9013eaf9d8..014fa0e7a5 100644 --- a/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/editor/plugins/sprite_frames_editor_plugin.cpp @@ -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)"); |