Fix uninitialized GridMapEditor::node

This commit is contained in:
Haoyu Qiu 2021-03-16 10:20:56 +08:00
parent 3ddab1c9d1
commit 871843bbdc

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