summaryrefslogtreecommitdiffstats
path: root/editor/editor_audio_buses.h
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-02-15 08:56:58 -0600
committerAaron Franke <arnfranke@yahoo.com>2022-03-12 13:34:06 -0600
commit918b09cabc39dbf13bed2406da56035341ac1cf4 (patch)
tree20989f8c374745f579f88c0dd925b31fa9b1ba55 /editor/editor_audio_buses.h
parentd7019de7e3c416e5492d1508b39c9b25adc2483a (diff)
downloadredot-engine-918b09cabc39dbf13bed2406da56035341ac1cf4.tar.gz
Initialize bools in the headers in editor
Diffstat (limited to 'editor/editor_audio_buses.h')
-rw-r--r--editor/editor_audio_buses.h6
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();