summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-01-06 11:49:08 +0100
committerRémi Verschelde <remi@verschelde.fr>2016-01-06 11:49:08 +0100
commit30ce222205bec23440f05502051a29fa08740254 (patch)
tree3c7d3f38eccc81770da39ff241c0c8e24a4c18cc /tools/editor
parenta82e6f0baa9ca8c6d33c9e46ffe20be56b5c4043 (diff)
parent07d8558eeeae3c90c9d2bfc7e4eb27a23d38bd78 (diff)
Merge pull request #3216 from nounoursheureux/spriteframes
Show the texture name after the frame number in the SpriteFrames editor
Diffstat (limited to 'tools/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())