diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-11-14 18:21:06 +0100 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-11-14 19:35:19 +0100 |
commit | 3b14f0334c9857a11ec8060562186aae5fe8cae0 (patch) | |
tree | e12329102802f089e2122b7c0673f993d32887df /editor/plugins/tiles/tiles_editor_plugin.cpp | |
parent | 963ffd8b944db768a9b7d09eeec025907f50843c (diff) |
Remove redundant Variant-types initializations
Diffstat (limited to 'editor/plugins/tiles/tiles_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/tiles/tiles_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tiles/tiles_editor_plugin.cpp b/editor/plugins/tiles/tiles_editor_plugin.cpp index 5b54062632..4239e2c981 100644 --- a/editor/plugins/tiles/tiles_editor_plugin.cpp +++ b/editor/plugins/tiles/tiles_editor_plugin.cpp @@ -92,7 +92,7 @@ void TilesEditorPlugin::_thread() { TypedArray<Vector2i> used_cells = tile_map->get_used_cells(0); - Rect2 encompassing_rect = Rect2(); + Rect2 encompassing_rect; encompassing_rect.set_position(tile_map->map_to_local(used_cells[0])); for (int i = 0; i < used_cells.size(); i++) { Vector2i cell = used_cells[i]; |