From d977adcf5d8d826222bdeb7dc84c3b212ce641bc Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Sat, 3 Dec 2005 03:37:29 +0000 Subject: [PATCH] commented out redundant setting of parent and zone --- direct/src/distributed/DistributedObjectUD.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/direct/src/distributed/DistributedObjectUD.py b/direct/src/distributed/DistributedObjectUD.py index 7252f45657..e037ac2f55 100755 --- a/direct/src/distributed/DistributedObjectUD.py +++ b/direct/src/distributed/DistributedObjectUD.py @@ -296,8 +296,8 @@ class DistributedObjectUD(DistributedObjectBase): # The repository is the one that really does the work self.air.generateWithRequiredAndId(self, doId, parentId, zoneId, optionalFields) - self.parentId = parentId - self.zoneId = zoneId + ## self.parentId = parentId + ## self.zoneId = zoneId self.generate() self.announceGenerate() @@ -319,9 +319,9 @@ class DistributedObjectUD(DistributedObjectBase): # Send a generate message self.sendGenerateWithRequired(self.air, parentId, zoneId, optionalFields) - assert not hasattr(self, 'parentId') or self.parentId is None - self.parentId = parentId - self.zoneId = zoneId + ## assert not hasattr(self, 'parentId') or self.parentId is None + ## self.parentId = parentId + ## self.zoneId = zoneId self.generate() def generate(self):