mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
quietly ignore deleted objects who call sendUpdate
This commit is contained in:
parent
41dc24c1a4
commit
960722a457
@ -410,10 +410,10 @@ class ClientRepository(DirectObject.DirectObject):
|
||||
# Get the DO id
|
||||
doId = do.doId
|
||||
# Get the cdc
|
||||
assert(self.doId2cdc.has_key(doId))
|
||||
cdc = self.doId2cdc[doId]
|
||||
# Let the cdc finish the job
|
||||
cdc.sendUpdate(self, do, fieldName, args, sendToId)
|
||||
cdc = self.doId2cdc.get(doId, None)
|
||||
if cdc:
|
||||
# Let the cdc finish the job
|
||||
cdc.sendUpdate(self, do, fieldName, args, sendToId)
|
||||
|
||||
def send(self, datagram):
|
||||
if self.notify.getDebug():
|
||||
|
Loading…
x
Reference in New Issue
Block a user