mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
comment out print statements
This commit is contained in:
parent
728d504fa7
commit
6ec1dbd9df
@ -43,10 +43,10 @@ class SfxPlayer:
|
|||||||
if SfxPlayer.UseInverseSquare:
|
if SfxPlayer.UseInverseSquare:
|
||||||
sd = d*self.distanceScale
|
sd = d*self.distanceScale
|
||||||
volume = min(1, 1 / (sd*sd or 1))
|
volume = min(1, 1 / (sd*sd or 1))
|
||||||
print d, sd, volume
|
#print d, sd, volume
|
||||||
else:
|
else:
|
||||||
volume = 1 - (d / (self.cutoffDistance or 1))
|
volume = 1 - (d / (self.cutoffDistance or 1))
|
||||||
print d, volume
|
#print d, volume
|
||||||
return volume
|
return volume
|
||||||
|
|
||||||
def playSfx(self, sfx, looping = 0, interrupt = 1, volume = None, time = 0.0, node=None):
|
def playSfx(self, sfx, looping = 0, interrupt = 1, volume = None, time = 0.0, node=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user