Merge pull request #3216 from nounoursheureux/spriteframes

Show the texture name after the frame number in the SpriteFrames editor
This commit is contained in:
Rémi Verschelde 2016-01-06 11:49:08 +01:00
commit 30ce222205

View File

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