summaryrefslogtreecommitdiff
path: root/editor/editor_audio_buses.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_audio_buses.h')
-rw-r--r--editor/editor_audio_buses.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/editor/editor_audio_buses.h b/editor/editor_audio_buses.h
index 81a6e5b86d..436b391ccd 100644
--- a/editor/editor_audio_buses.h
+++ b/editor/editor_audio_buses.h
@@ -28,8 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
-#ifndef EDITORAUDIOBUSES_H
-#define EDITORAUDIOBUSES_H
+#ifndef EDITOR_AUDIO_BUSES_H
+#define EDITOR_AUDIO_BUSES_H
#include "editor/editor_plugin.h"
#include "scene/gui/box_container.h"
@@ -108,7 +108,7 @@ class EditorAudioBus : public PanelContainer {
void _effect_add(int p_which);
void _effect_selected();
void _delete_effect_pressed(int p_option);
- void _effect_rmb(const Vector2 &p_pos);
+ void _effect_rmb(const Vector2 &p_pos, MouseButton p_button);
void _update_visible_channels();
virtual Variant get_drag_data(const Point2 &p_point) override;
@@ -192,7 +192,7 @@ class EditorAudioBuses : public VBoxContainer {
void _new_layout();
EditorFileDialog *file_dialog = nullptr;
- bool new_layout;
+ bool new_layout = false;
void _file_dialog_callback(const String &p_string);
@@ -275,4 +275,4 @@ public:
~AudioBusesEditorPlugin();
};
-#endif // EDITORAUDIOBUSES_H
+#endif // EDITOR_AUDIO_BUSES_H