summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNounours Heureux <schtroumps31@gmail.com>2016-01-03 09:18:42 +0100
committerNounours Heureux <schtroumps31@gmail.com>2016-01-03 09:31:10 +0100
commit07d8558eeeae3c90c9d2bfc7e4eb27a23d38bd78 (patch)
tree6ad21bf7687c1b7aae0e5f3f971002eb1ad72c32
parent61745855d0bb309cb0ebcd2d92fc15f7f6fb1840 (diff)
Show the texture name after the frame number in the SpriteFrames editor
-rw-r--r--tools/editor/plugins/sprite_frames_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/sprite_frames_editor_plugin.cpp b/tools/editor/plugins/sprite_frames_editor_plugin.cpp
index 7b8f1535be..c8df805f5e 100644
--- a/tools/editor/plugins/sprite_frames_editor_plugin.cpp
+++ b/tools/editor/plugins/sprite_frames_editor_plugin.cpp
@@ -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())