From 8672054e3023f92c412e13f2db720270b68f3bc7 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 30 Mar 2020 13:57:15 +0200 Subject: [PATCH] showbase: fix erroneous docstring (audio unit is metres by default) --- direct/src/showbase/Audio3DManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/showbase/Audio3DManager.py b/direct/src/showbase/Audio3DManager.py index e0f38c1d2a..78389c63ba 100644 --- a/direct/src/showbase/Audio3DManager.py +++ b/direct/src/showbase/Audio3DManager.py @@ -35,7 +35,7 @@ class Audio3DManager: def setDistanceFactor(self, factor): """ Control the scale that sets the distance units for 3D spacialized audio. - Default is 1.0 which is adjust in panda to be feet. + Default is 1.0 which is adjust in panda to be meters. When you change this, don't forget that this effects the scale of setSoundMinDistance """ self.audio_manager.audio3dSetDistanceFactor(factor) @@ -43,7 +43,7 @@ class Audio3DManager: def getDistanceFactor(self): """ Control the scale that sets the distance units for 3D spacialized audio. - Default is 1.0 which is adjust in panda to be feet. + Default is 1.0 which is adjust in panda to be meters. """ return self.audio_manager.audio3dGetDistanceFactor()