diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-12 22:00:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-12 22:00:38 +0100 |
commit | 84b358c1d8a01ce70a56a099ef98ae014a91239b (patch) | |
tree | 9dfb634eb5126e47dc576e62473361fea1f04ecb /editor/editor_audio_buses.h | |
parent | 5959d38c6838d3470ba2b1e166602366cdbac6c5 (diff) | |
parent | 918b09cabc39dbf13bed2406da56035341ac1cf4 (diff) |
Merge pull request #58338 from aaronfranke/bools
Initialize bools in the headers in `editor/`
Diffstat (limited to 'editor/editor_audio_buses.h')
-rw-r--r-- | editor/editor_audio_buses.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor_audio_buses.h b/editor/editor_audio_buses.h index a830a2719d..0020b61370 100644 --- a/editor/editor_audio_buses.h +++ b/editor/editor_audio_buses.h @@ -85,9 +85,9 @@ class EditorAudioBus : public PanelContainer { Tree *effects; - bool updating_bus; + bool updating_bus = false; bool is_master; - mutable bool hovering_drop; + mutable bool hovering_drop = false; virtual void gui_input(const Ref<InputEvent> &p_event) override; void _effects_gui_input(Ref<InputEvent> p_event); @@ -140,7 +140,7 @@ class EditorAudioBusDrop : public Control { virtual bool can_drop_data(const Point2 &p_point, const Variant &p_data) const override; virtual void drop_data(const Point2 &p_point, const Variant &p_data) override; - mutable bool hovering_drop; + mutable bool hovering_drop = false; protected: static void _bind_methods(); |