mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -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):
|
def normalizeChannel(self, chan, minVal = -1, maxVal = 1, sf = 1.0):
|
||||||
try:
|
try:
|
||||||
return self.normalize(self[chan], minVal, maxVal, sfx)
|
return self.normalize(self[chan], minVal, maxVal, sf)
|
||||||
except IndexError:
|
except IndexError:
|
||||||
return 0.0
|
return 0.0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user