diff options
author | kleonc <9283098+kleonc@users.noreply.github.com> | 2022-01-25 18:39:26 +0100 |
---|---|---|
committer | kleonc <9283098+kleonc@users.noreply.github.com> | 2022-01-25 18:39:26 +0100 |
commit | 93a95ae84abf91513f40ef64f8fdd7e707e43f30 (patch) | |
tree | dcfbe8da2b39c35bd817707648c0aee17427a2a9 /editor/plugins/sprite_frames_editor_plugin.cpp | |
parent | 894e2fddda029247e6e614f4a4e11d4b7fd8176d (diff) |
SpriteFramesEditor Incorrect texture type fix
Diffstat (limited to 'editor/plugins/sprite_frames_editor_plugin.cpp')
-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)"); |