You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +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:
@@ -2260,7 +2260,7 @@ void TileSetEditor::update_workspace_tile_mode() {
|
||||
tool_editmode[EDITMODE_BITMASK]->hide();
|
||||
tool_editmode[EDITMODE_PRIORITY]->hide();
|
||||
tool_editmode[EDITMODE_Z_INDEX]->hide();
|
||||
} else if (tileset->tile_get_tile_mode(get_current_tile()) == TileSet::AUTO_TILE || tileset->tile_get_tile_mode(get_current_tile()) == TileSet::ATLAS_TILE) {
|
||||
} else if (tileset->tile_get_tile_mode(get_current_tile()) == TileSet::AUTO_TILE) {
|
||||
if (edit_mode == EDITMODE_ICON)
|
||||
select_coord(tileset->autotile_get_icon_coordinate(get_current_tile()));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user