diff --git a/direct/src/showbase/SfxPlayer.py b/direct/src/showbase/SfxPlayer.py index 2e27c87180..0c7f3f6e04 100644 --- a/direct/src/showbase/SfxPlayer.py +++ b/direct/src/showbase/SfxPlayer.py @@ -33,7 +33,6 @@ class SfxPlayer: Get the volume that a sound should be played at if it is localized at this node. We compute this wrt the camera """ - import math d = node.getDistance(base.cam) if d > self.cutoffDistance: volume = 0