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

Fixes for TileSetEditor and TileMapEditor

[TileSetEditor] Hide Bitmask and Priority for ATLAS_TILE
[TileMapEditor] Hide "Disable autotile" if the selected tile isn't
autotile
Fix #22756, don't update bitmask when tilemode is ATLAS_TILE
This commit is contained in:
Guilherme Felipe
2018-12-20 15:17:52 -02:00
parent 3bdd1ff387
commit 21bad78bd8
3 changed files with 10 additions and 3 deletions

View File

@@ -516,6 +516,12 @@ void TileMapEditor::_update_palette() {
manual_palette->set_current(selected);
manual_palette->show();
}
if (tileset->tile_get_tile_mode(sel_tile) == TileSet::AUTO_TILE) {
manual_button->show();
} else {
manual_button->hide();
}
}
void TileMapEditor::_pick_tile(const Point2 &p_pos) {