From 871843bbdcc4bf5cc11f3b6e136e1d37e17d2c59 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Tue, 16 Mar 2021 10:20:56 +0800 Subject: [PATCH] Fix uninitialized GridMapEditor::node --- modules/gridmap/grid_map_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gridmap/grid_map_editor_plugin.cpp b/modules/gridmap/grid_map_editor_plugin.cpp index c3d0dfbfa40..e6bd4dfca16 100644 --- a/modules/gridmap/grid_map_editor_plugin.cpp +++ b/modules/gridmap/grid_map_editor_plugin.cpp @@ -1222,6 +1222,7 @@ void GridMapEditor::_bind_methods() { GridMapEditor::GridMapEditor(EditorNode *p_editor) { input_action = INPUT_NONE; + node = NULL; editor = p_editor; undo_redo = p_editor->get_undo_redo();