1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Merge pull request #44569 from madmiraal/rename-unselect-deselect

Rename unselect to deselect
This commit is contained in:
Rémi Verschelde
2020-12-28 14:53:43 +01:00
committed by GitHub
15 changed files with 36 additions and 36 deletions

View File

@@ -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]);