From 78981307e6208fcf6753b044c2b9dca133499c47 Mon Sep 17 00:00:00 2001 From: Penguin-Guru Date: Wed, 24 Nov 2021 18:13:06 -0800 Subject: [PATCH] This seems like the last one. Untested. --- .../resources/qml/hifi/simplifiedUI/settingsApp/vr/VR.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/interface/resources/qml/hifi/simplifiedUI/settingsApp/vr/VR.qml b/interface/resources/qml/hifi/simplifiedUI/settingsApp/vr/VR.qml index cc64f8bd9f..d713f3f6f9 100644 --- a/interface/resources/qml/hifi/simplifiedUI/settingsApp/vr/VR.qml +++ b/interface/resources/qml/hifi/simplifiedUI/settingsApp/vr/VR.qml @@ -386,10 +386,8 @@ Flickable { sample = null; } function playSound() { - // FIXME: MyAvatar is not properly exposed to QML; MyAvatar.qmlPosition is a stopgap - // FIXME: AudioScriptingInterface.playSystemSound should not require position if (sample === null && !isPlaying) { - sample = AudioScriptingInterface.playSystemSound(sound, MyAvatar.qmlPosition); + sample = AudioScriptingInterface.playSystemSound(sound); isPlaying = true; sample.finished.connect(reset); }