mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -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:
|
if field is not None:
|
||||||
p = DCPacker()
|
p = DCPacker()
|
||||||
p.setUnpackData(field.getDefaultValue())
|
p.setUnpackData(field.getDefaultValue())
|
||||||
len = p.rawUnpackUint16()/4
|
len = p.rawUnpackUint16() // 4
|
||||||
for i in range(len):
|
for i in range(len):
|
||||||
zone = int(p.rawUnpackUint32())
|
zone = int(p.rawUnpackUint32())
|
||||||
autoInterests.add(zone)
|
autoInterests.add(zone)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user