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())