mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add undo-redo to the TileSet editor, and other improvements
This commit is contained in:
parent
8b7028e7b1
commit
4a91f94c13
7 changed files with 602 additions and 205 deletions
|
|
@ -517,7 +517,7 @@ void TileMapEditor::_update_palette() {
|
|||
manual_palette->show();
|
||||
}
|
||||
|
||||
if (tileset->tile_get_tile_mode(sel_tile) == TileSet::AUTO_TILE) {
|
||||
if (sel_tile != TileMap::INVALID_CELL && tileset->tile_get_tile_mode(sel_tile) == TileSet::AUTO_TILE) {
|
||||
manual_button->show();
|
||||
} else {
|
||||
manual_button->hide();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue