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

[3.2] Fix uninitialized GridMapEditor::node
This commit is contained in:
Rémi Verschelde 2021-03-16 08:06:46 +01:00 committed by GitHub
commit 95a9e2987a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1222,6 +1222,7 @@ void GridMapEditor::_bind_methods() {
GridMapEditor::GridMapEditor(EditorNode *p_editor) { GridMapEditor::GridMapEditor(EditorNode *p_editor) {
input_action = INPUT_NONE; input_action = INPUT_NONE;
node = NULL;
editor = p_editor; editor = p_editor;
undo_redo = p_editor->get_undo_redo(); undo_redo = p_editor->get_undo_redo();