summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2020-12-28 14:53:43 +0100
committerGitHub <noreply@github.com>2020-12-28 14:53:43 +0100
commitfeb4e5ed2cb463e0a2dde12d38681b346f7e0b3c (patch)
treeae0a1fec73157cece6aa857d5bf0a950acc795f5 /editor/plugins
parente4c05723858dc6e644ebec4ea89fb6b562052fbd (diff)
parent7b293eddfb618699c86b421bdac9fdaf8d5f00d3 (diff)
Merge pull request #44569 from madmiraal/rename-unselect-deselect
Rename unselect to deselect
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/tile_map_editor_plugin.cpp2
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 7351136593..860b974632 100644
--- a/editor/plugins/tile_map_editor_plugin.cpp
+++ b/editor/plugins/tile_map_editor_plugin.cpp
@@ -262,7 +262,7 @@ Vector<int> TileMapEditor::get_selected_tiles() const {
}
void TileMapEditor::set_selected_tiles(Vector<int> p_tiles) {
- palette->unselect_all();
+ palette->deselect_all();
for (int i = p_tiles.size() - 1; i >= 0; i--) {
int idx = palette->find_metadata(p_tiles[i]);