From d10e287d724e5ebb310c3237def1fa95e5f8a0da Mon Sep 17 00:00:00 2001 From: Samir Naik Date: Fri, 4 Mar 2005 04:22:27 +0000 Subject: [PATCH] temporarily comment out storeObjectLocation and deleteObjectLocation --- direct/src/distributed/DistributedObject.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/direct/src/distributed/DistributedObject.py b/direct/src/distributed/DistributedObject.py index 1469ecb6ee..541a5458d4 100644 --- a/direct/src/distributed/DistributedObject.py +++ b/direct/src/distributed/DistributedObject.py @@ -156,7 +156,7 @@ class DistributedObject(PandaObject): self.activeState = ESDisabled self.__callbacks = {} if wantOtpServer: - self.cr.deleteObjectLocation(self.doId, self.__location[0], self.__location[1]) + #self.cr.deleteObjectLocation(self.doId, self.__location[0], self.__location[1]) self.__location = (None, None) # TODO: disable my children @@ -343,9 +343,9 @@ class DistributedObject(PandaObject): def setLocation(self, parentId, zoneId): # The store must run first so we know the old location - self.cr.storeObjectLocation(self.doId, parentId, zoneId) + #self.cr.storeObjectLocation(self.doId, parentId, zoneId) self.__location = (parentId, zoneId) - + def getLocation(self): return self.__location