소스 검색

Add tile index prefixes in tile map editor plugin. #5420

Samuel Grigolato 9 년 전
부모
커밋
afab4168fd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tools/editor/plugins/tile_map_editor_plugin.cpp

+ 1 - 1
tools/editor/plugins/tile_map_editor_plugin.cpp

@@ -223,7 +223,7 @@ void TileMapEditor::_update_palette() {
 		String name;
 
 		if (tileset->tile_get_name(E->get())!="") {
-			name = tileset->tile_get_name(E->get());
+			name = itos(E->get())+" - "+tileset->tile_get_name(E->get());
 		} else {
 			name = "#"+itos(E->get());
 		}