Fix uninitialized GridMapEditor::node
and InputMapEditor::setting
variables.
This commit is contained in:
parent
b370aa75dd
commit
b506f9b5aa
2 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ class InputMapEditor : public Control {
|
|||
AcceptDialog *message;
|
||||
UndoRedo *undo_redo;
|
||||
String inputmap_changed;
|
||||
bool setting;
|
||||
bool setting = false;
|
||||
|
||||
void _update_actions();
|
||||
void _add_item(int p_item, Ref<InputEvent> p_exiting_event = Ref<InputEvent>());
|
||||
|
|
|
@ -93,7 +93,7 @@ class GridMapEditor : public VBoxContainer {
|
|||
|
||||
List<SetItem> set_items;
|
||||
|
||||
GridMap *node;
|
||||
GridMap *node = nullptr;
|
||||
MeshLibrary *last_mesh_library;
|
||||
ClipMode clip_mode;
|
||||
|
||||
|
|
Loading…
Reference in a new issue