1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Show the texture name after the frame number in the SpriteFrames editor

This commit is contained in:
Nounours Heureux
2016-01-03 09:18:42 +01:00
parent 61745855d0
commit 07d8558eee

View File

@@ -346,7 +346,7 @@ void SpriteFramesEditor::_update_library() {
ti->set_text(0,"Frame "+itos(i)+" (empty)");
} else {
ti->set_text(0,"Frame "+itos(i));
ti->set_text(0,"Frame "+itos(i)+" ("+frames->get_frame(i)->get_name()+")");
ti->set_icon(0,frames->get_frame(i));
}
if (frames->get_frame(i).is_valid())