mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
oops, shouldn't double int8array length
This commit is contained in:
parent
f23b139f06
commit
cc32ef9d8c
@ -42,12 +42,12 @@
|
|||||||
for i in range(len):
|
for i in range(len):
|
||||||
retVal.append(self.getInt32())
|
retVal.append(self.getInt32())
|
||||||
elif subatomicType == STUint8array:
|
elif subatomicType == STUint8array:
|
||||||
len = self.getUint8() >> 1
|
len = self.getUint8()
|
||||||
retVal = []
|
retVal = []
|
||||||
for i in range(len):
|
for i in range(len):
|
||||||
retVal.append(self.getUint8())
|
retVal.append(self.getUint8())
|
||||||
elif subatomicType == STUint16array:
|
elif subatomicType == STUint16array:
|
||||||
len = self.getUint16()
|
len = self.getUint16() >> 1
|
||||||
retVal = []
|
retVal = []
|
||||||
for i in range(len):
|
for i in range(len):
|
||||||
retVal.append(self.getUint16())
|
retVal.append(self.getUint16())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user