mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 15:53:55 -04:00
directdevices: Fix typo in DirectDeviceManager.normalizeChannel
This commit is contained in:
parent
92e3dbbe58
commit
5ecd6249d1
@ -169,7 +169,7 @@ class DirectAnalogs(AnalogNode, DirectObject):
|
||||
|
||||
def normalizeChannel(self, chan, minVal = -1, maxVal = 1, sf = 1.0):
|
||||
try:
|
||||
return self.normalize(self[chan], minVal, maxVal, sfx)
|
||||
return self.normalize(self[chan], minVal, maxVal, sf)
|
||||
except IndexError:
|
||||
return 0.0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user