Browse Source

removed commented out code for gridparenting

Samir Naik 21 years ago
parent
commit
c3941698f4
1 changed files with 0 additions and 9 deletions
  1. 0 9
      direct/src/distributed/DistributedNode.py

+ 0 - 9
direct/src/distributed/DistributedNode.py

@@ -35,15 +35,6 @@ class DistributedNode(DistributedObject.DistributedObject, NodePath):
         DistributedObject.DistributedObject.generate(self)
         self.gotStringParentToken = 0
 
-        #if wantOtpServer:
-        #    parentId, zoneId = self.getLocation()
-        #    # reparent to parent
-        #    parent = base.cr.doId2do.get(parentId)
-        #    if parent and isinstance(parent, NodePath):
-        #        if self.getParent() != parent:
-        #            print "generate: reparenting %s to %s" % (self, parent)
-        #            self.wrtReparentTo(parent)            
-
     def __cmp__(self, other):
         # DistributedNode inherits from NodePath, which inherits a
         # definition of __cmp__ from FFIExternalObject that uses the