mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
direct: fix TypeError caused by py3 division changes
This commit is contained in:
parent
778c6ee6be
commit
ea49c121a0
@ -125,7 +125,7 @@ class DistributedObject(DistributedObjectBase):
|
||||
if field is not None:
|
||||
p = DCPacker()
|
||||
p.setUnpackData(field.getDefaultValue())
|
||||
len = p.rawUnpackUint16()/4
|
||||
len = p.rawUnpackUint16() // 4
|
||||
for i in range(len):
|
||||
zone = int(p.rawUnpackUint32())
|
||||
autoInterests.add(zone)
|
||||
|
Loading…
x
Reference in New Issue
Block a user