Explorar o código

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

Samuel Grigolato %!s(int64=9) %!d(string=hai) anos
pai
achega
afab4168fd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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());
 		}