1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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