瀏覽代碼

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());
 		}