From 4f4dc1593779c0e61150b40da94d69bfdb41e508 Mon Sep 17 00:00:00 2001 From: "Asad M. Zaman" Date: Fri, 5 Aug 2005 02:05:34 +0000 Subject: [PATCH] it is a hack until Roger and Schuyler/Darren reaches a new scheme on how to handle deletes --- direct/src/distributed/DistributedObjectAI.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/direct/src/distributed/DistributedObjectAI.py b/direct/src/distributed/DistributedObjectAI.py index 890d7c3613..2eab394c3d 100644 --- a/direct/src/distributed/DistributedObjectAI.py +++ b/direct/src/distributed/DistributedObjectAI.py @@ -125,7 +125,9 @@ class DistributedObjectAI(DirectObject): if not hasattr(self, "doNotDeallocateChannel"): if self.air: self.air.deallocateChannel(self.doId) - self.air = None + # Asad: As per Roger's suggestion, turn off the following line until a solution is + # Thought out of how to prevent this delete message or to handle this message better + #self.air = None if hasattr(self, 'parentId'): del self.parentId del self.zoneId