mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 07:03:36 -04:00
clientrepositorybase: Prevent crash on handleUpdateField if updates are handled in Python and repo does not have owner view
This commit is contained in:
parent
cbfd8f4545
commit
160ba090a5
@ -469,6 +469,9 @@ class ClientRepositoryBase(ConnectionRepository):
|
||||
f"Asked to update non-existent DistObj {doId} and failed to find it")
|
||||
|
||||
def __doUpdateOwner(self, doId, di):
|
||||
if not self.hasOwnerView():
|
||||
return False
|
||||
|
||||
ovObj = self.doId2ownerView.get(doId)
|
||||
if ovObj:
|
||||
odg = Datagram(di.getDatagram())
|
||||
|
Loading…
x
Reference in New Issue
Block a user