You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Fix uninitialized GridMapEditor::node and InputMapEditor::setting variables.
This commit is contained in:
@@ -69,7 +69,7 @@ class InputMapEditor : public Control {
|
|||||||
AcceptDialog *message;
|
AcceptDialog *message;
|
||||||
UndoRedo *undo_redo;
|
UndoRedo *undo_redo;
|
||||||
String inputmap_changed;
|
String inputmap_changed;
|
||||||
bool setting;
|
bool setting = false;
|
||||||
|
|
||||||
void _update_actions();
|
void _update_actions();
|
||||||
void _add_item(int p_item, Ref<InputEvent> p_exiting_event = Ref<InputEvent>());
|
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;
|
List<SetItem> set_items;
|
||||||
|
|
||||||
GridMap *node;
|
GridMap *node = nullptr;
|
||||||
MeshLibrary *last_mesh_library;
|
MeshLibrary *last_mesh_library;
|
||||||
ClipMode clip_mode;
|
ClipMode clip_mode;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user