Merge pull request #5474 from samuelgrigolato/tile-map-idx

Add tile index prefixes in tile map editor plugin
This commit is contained in:
Rémi Verschelde 2016-06-30 08:06:54 +02:00 committed by GitHub
commit 0233c69bdc

View file

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