From 6d510453e5c2ec7cfc411f6883d45e5f217463e5 Mon Sep 17 00:00:00 2001 From: Michael Auderer Date: Fri, 2 Oct 2020 10:42:12 -0400 Subject: initialize refocus_over_tile to false Co-authored-by: Tomek --- editor/plugins/tile_map_editor_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/tile_map_editor_plugin.h b/editor/plugins/tile_map_editor_plugin.h index c77f15c671..f57616db1f 100644 --- a/editor/plugins/tile_map_editor_plugin.h +++ b/editor/plugins/tile_map_editor_plugin.h @@ -119,7 +119,7 @@ class TileMapEditor : public VBoxContainer { Rect2i rectangle; Point2i over_tile; - bool refocus_over_tile; + bool refocus_over_tile = false; bool *bucket_cache_visited; Rect2i bucket_cache_rect; -- cgit v1.2.3