From 123ec119f54b866eb1397aacdd6a30bc60c204c0 Mon Sep 17 00:00:00 2001 From: Redmond Urbino Date: Fri, 2 May 2008 01:22:27 +0000 Subject: [PATCH] UNDO temp hacks --- direct/src/distributed/DistributedObject.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/direct/src/distributed/DistributedObject.py b/direct/src/distributed/DistributedObject.py index c877765128..ecd76f87ca 100644 --- a/direct/src/distributed/DistributedObject.py +++ b/direct/src/distributed/DistributedObject.py @@ -249,10 +249,9 @@ class DistributedObject(DistributedObjectBase): # after this is called, the object is no longer an active DistributedObject # and it may be placed in the cache self.__callbacks = {} - if self.cr: - self.cr.closeAutoInterests(self) - self.setLocation(0,0) - self.cr.deleteObjectLocation(self, self.parentId, self.zoneId) + self.cr.closeAutoInterests(self) + self.setLocation(0,0) + self.cr.deleteObjectLocation(self, self.parentId, self.zoneId) def _destroyDO(self): # after this is called, the object is no longer a DistributedObject