소스 검색

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

Nounours Heureux 9 년 전
부모
커밋
07d8558eee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tools/editor/plugins/sprite_frames_editor_plugin.cpp

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