Browse Source

fixed typo that was passing builtin 'object' to handleChildLeave

Darren Ranalli 18 years ago
parent
commit
50225ec96e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/distributed/DoCollectionManager.py

+ 1 - 1
direct/src/distributed/DoCollectionManager.py

@@ -395,7 +395,7 @@ class DoCollectionManager:
            oldParentId, oldZoneId = location
            oldParentObj = self.doId2do.get(oldParentId)
            if oldParentObj:
-               oldParentObj.handleChildLeave(object, oldZoneId)
+               oldParentObj.handleChildLeave(do, oldZoneId)
         self.deleteObjectLocation(do, do.parentId, do.zoneId)
         ## location = do.getLocation()
         ## if location is not None: