mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 17:11:30 +00:00
Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
|
@ -449,7 +449,7 @@ void TileMapEditor::_update_palette() {
|
|||
|
||||
List<int> tiles;
|
||||
tileset->get_tile_list(&tiles);
|
||||
if (tiles.empty()) {
|
||||
if (tiles.is_empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -1779,7 +1779,7 @@ void TileMapEditor::forward_canvas_draw_over_viewport(Control *p_overlay) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (paint_undo.empty()) {
|
||||
if (paint_undo.is_empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -1810,7 +1810,7 @@ void TileMapEditor::forward_canvas_draw_over_viewport(Control *p_overlay) {
|
|||
}
|
||||
}
|
||||
} else if (tool == TOOL_PASTING) {
|
||||
if (copydata.empty()) {
|
||||
if (copydata.is_empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue