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();