mirror of
https://github.com/godotengine/godot
synced 2024-09-15 21:20:08 +00:00
SpriteFramesEditor Incorrect texture type fix
This commit is contained in:
parent
894e2fddda
commit
93a95ae84a
|
@ -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…
Reference in a new issue