summaryrefslogtreecommitdiff
path: root/scene/3d/audio_stream_player_3d.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-07-18 13:47:42 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-07-18 13:48:09 -0300
commitd1550b4a9ba5d416d294a3aeaaf3d4b81559915f (patch)
tree59cd014581d831bd136d73746a151b4a17733a47 /scene/3d/audio_stream_player_3d.cpp
parent36efa7d4455238e44747db08298df9b1e8388172 (diff)
Ability to disable scale in nodes, closes #19927
Diffstat (limited to 'scene/3d/audio_stream_player_3d.cpp')
-rw-r--r--scene/3d/audio_stream_player_3d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/audio_stream_player_3d.cpp b/scene/3d/audio_stream_player_3d.cpp
index d46231a677..5f0ac3dd80 100644
--- a/scene/3d/audio_stream_player_3d.cpp
+++ b/scene/3d/audio_stream_player_3d.cpp
@@ -991,6 +991,7 @@ AudioStreamPlayer3D::AudioStreamPlayer3D() {
velocity_tracker.instance();
AudioServer::get_singleton()->connect("bus_layout_changed", this, "_bus_layout_changed");
+ set_disable_scale(true);
}
AudioStreamPlayer3D::~AudioStreamPlayer3D() {
}