You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Remove redundant Variant-types initializations
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user