Merge pull request #47044 from timothyqiu/grid-map-ub
[3.2] Fix uninitialized GridMapEditor::node
This commit is contained in:
commit
95a9e2987a
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue