Unverified Commit 49a1e3db by Rémi Verschelde Committed by GitHub

Merge pull request #38524 from hoontee/master

Fix bug with AudioStreamPlayer3D audio position
parents 9668c1cd 330bd686
......@@ -710,6 +710,11 @@ float AudioStreamPlayer3D::get_pitch_scale() const {
void AudioStreamPlayer3D::play(float p_from_pos) {
if (!is_playing()) {
// Reset the prev_output_count if the stream is stopped
prev_output_count = 0;
}
if (stream_playback.is_valid()) {
active = true;
setplay = p_from_pos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment