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

View file

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