From 0a4a443824f6af613a92e806148963e7e510e6ee Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Thu, 2 Jun 2005 23:28:18 +0000 Subject: [PATCH] setting location --- direct/src/distributed/DistributedObject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/distributed/DistributedObject.py b/direct/src/distributed/DistributedObject.py index 84dd78a2df..8fea089b2d 100644 --- a/direct/src/distributed/DistributedObject.py +++ b/direct/src/distributed/DistributedObject.py @@ -351,10 +351,10 @@ class DistributedObject(PandaObject): def setLocation(self, parentId, zoneId): #self.notify.info("setLocation: %s parentId: %s zoneId: %s" % (self.doId, parentId, zoneId)) # The store must run first so we know the old location - #self.cr.storeObjectLocation(self.doId, parentId, zoneId) self.__location = (parentId, zoneId) self.parentId = parentId self.zoneId = zoneId + self.cr.storeObjectLocation(self.doId, parentId, zoneId) # Give the parent a chance to run code when a new child # sets location to it. For example, the parent may want to