From 35c99bbcc1c6728943308fa1b867e57d096bb813 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sat, 6 Jan 2024 20:29:43 -0600 Subject: Change AudioStreamPlayer autoplay and GLTFBufferView getters to be const --- scene/2d/audio_stream_player_2d.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scene/2d/audio_stream_player_2d.h') diff --git a/scene/2d/audio_stream_player_2d.h b/scene/2d/audio_stream_player_2d.h index 3552735cd7..3a3e6510c8 100644 --- a/scene/2d/audio_stream_player_2d.h +++ b/scene/2d/audio_stream_player_2d.h @@ -89,6 +89,11 @@ protected: bool _get(const StringName &p_name, Variant &r_ret) const; void _get_property_list(List *p_list) const; +#ifndef DISABLE_DEPRECATED + bool _is_autoplay_enabled_bind_compat_86907(); + static void _bind_compatibility_methods(); +#endif // DISABLE_DEPRECATED + public: void set_stream(Ref p_stream); Ref get_stream() const; @@ -109,7 +114,7 @@ public: StringName get_bus() const; void set_autoplay(bool p_enable); - bool is_autoplay_enabled(); + bool is_autoplay_enabled() const; void set_max_distance(float p_pixels); float get_max_distance() const; -- cgit v1.2.3