Fix uninitialized GridMapEditor::node and InputMapEditor::setting variables.

This commit is contained in:
bruvzg 2020-10-26 22:54:29 +02:00
parent b370aa75dd
commit b506f9b5aa
No known key found for this signature in database
GPG key ID: FCED35F1CECE0D3A
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -93,7 +93,7 @@ class GridMapEditor : public VBoxContainer {
List<SetItem> set_items;
GridMap *node;
GridMap *node = nullptr;
MeshLibrary *last_mesh_library;
ClipMode clip_mode;