Browse Source

Merge pull request #47044 from timothyqiu/grid-map-ub

[3.2] Fix uninitialized GridMapEditor::node
Rémi Verschelde 4 years ago
parent
commit
95a9e2987a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/gridmap/grid_map_editor_plugin.cpp

+ 1 - 0
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();