From b27677c479f9b960b82dfeb4c91f99bdbfd865d0 Mon Sep 17 00:00:00 2001 From: Justin Butler Date: Sat, 8 Jul 2006 01:23:57 +0000 Subject: [PATCH] temporary hack until proper fix is in place --- direct/src/distributed/DoHierarchy.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/direct/src/distributed/DoHierarchy.py b/direct/src/distributed/DoHierarchy.py index 0671edf21a..b94f0e2c0f 100755 --- a/direct/src/distributed/DoHierarchy.py +++ b/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)