diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-12-30 14:05:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-30 14:05:52 +0100 |
commit | c64b07b264845a1cad8a500badc0407d593a453f (patch) | |
tree | 103adf6558e972c84ac1913a509f55a27788611a /editor/plugins/tile_map_editor_plugin.cpp | |
parent | 6a07d7f83f10ee8f38f7890aff51eac3f4e581f8 (diff) | |
parent | 4a91f94c1339711beaf5c2eff758b17352fed27c (diff) | |
download | redot-engine-c64b07b264845a1cad8a500badc0407d593a453f.tar.gz |
Merge pull request #24645 from YeldhamDev/tileset_editor_undo
Add undo-redo to the TileSet editor, and other improvements
Diffstat (limited to 'editor/plugins/tile_map_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/tile_map_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tile_map_editor_plugin.cpp b/editor/plugins/tile_map_editor_plugin.cpp index c9367edec6..b56c0bbc1b 100644 --- a/editor/plugins/tile_map_editor_plugin.cpp +++ b/editor/plugins/tile_map_editor_plugin.cpp @@ -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(); |