mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
formatting
This commit is contained in:
parent
ecad7a5693
commit
5f3c52e8b3
@ -383,7 +383,7 @@ class ClientRepository(ConnectionRepository):
|
||||
# Look up the object
|
||||
distObj = self.doId2do[doId]
|
||||
# remove the object from the dictionary
|
||||
del(self.doId2do[doId])
|
||||
del self.doId2do[doId]
|
||||
|
||||
# Only cache the object if it is a "cacheable" type
|
||||
# object; this way we don't clutter up the caches with
|
||||
@ -422,7 +422,7 @@ class ClientRepository(ConnectionRepository):
|
||||
# If it is in the dictionary, remove it.
|
||||
obj = self.doId2do[doId]
|
||||
# Remove it from the dictionary
|
||||
del(self.doId2do[doId])
|
||||
del self.doId2do[doId]
|
||||
# Disable, announce, and delete the object itself...
|
||||
# unless delayDelete is on...
|
||||
obj.deleteOrDelay()
|
||||
|
@ -235,7 +235,7 @@ class DoCollectionManager:
|
||||
if len(self.zoneId2doIds[location]) == 0:
|
||||
del self.zoneId2doIds[location]
|
||||
|
||||
del(self.doId2do[do.doId])
|
||||
del self.doId2do[do.doId]
|
||||
else:
|
||||
def removeDOFromTables(self, do):
|
||||
assert self.notify.debugStateCall(self)
|
||||
@ -251,7 +251,7 @@ class DoCollectionManager:
|
||||
if len(self.zoneId2doIds[do.zoneId]) == 0:
|
||||
del self.zoneId2doIds[do.zoneId]
|
||||
|
||||
del(self.doId2do[do.doId])
|
||||
del self.doId2do[do.doId]
|
||||
|
||||
if wantOtpServer:
|
||||
def changeDOZoneInTables(self, do, newParentId, newZoneId, oldParentId, oldZoneId):
|
||||
|
Loading…
x
Reference in New Issue
Block a user