Browse Source

reverted detachNode change

Samir Naik 19 years ago
parent
commit
5a6f625009
1 changed files with 0 additions and 4 deletions
  1. 0 4
      direct/src/distributed/GridParent.py

+ 0 - 4
direct/src/distributed/GridParent.py

@@ -31,11 +31,7 @@ class GridParent:
     def delete(self):
         if self.av:
             if self.av.getParent() == self.cellOrigin:
-                # Keep render relative pos around in case
-                # the avatar needs it once he gets reparented again
-                avPos = self.av.getPos(render)
                 self.av.detachNode()
-                self.av.setPos(avPos)
             del self.av
             self.av = None
         # Remove the gridNodes