Browse Source

temporary hack until proper fix is in place

Justin Butler 19 years ago
parent
commit
b27677c479
1 changed files with 4 additions and 1 deletions
  1. 4 1
      direct/src/distributed/DoHierarchy.py

+ 4 - 1
direct/src/distributed/DoHierarchy.py

@@ -68,7 +68,10 @@ class DoHierarchy:
 
     def deleteObjectLocation(self, doId, parentId, zoneId):
         assert self.notify.debugCall()
-        assert doId in self._allDoIds
+        #assert doId in self._allDoIds
+        # jbutler: temp hack to get by the assert, this will be fixed soon
+        if (doId not in self._allDoIds):
+            return
         parentZoneDict = self._table.get(parentId)
         if parentZoneDict is not None:
             zoneDoSet = parentZoneDict.get(zoneId)