diff --git a/direct/src/distributed/DoCollectionManager.py b/direct/src/distributed/DoCollectionManager.py index a62965d02f..0b46cb0477 100755 --- a/direct/src/distributed/DoCollectionManager.py +++ b/direct/src/distributed/DoCollectionManager.py @@ -193,6 +193,10 @@ class DoCollectionManager: return self._doHierarchy.getDoIds(self.getDo, parentId, zoneId, classType) + def hasOwnerViewDoId(self, doId): + assert self.hasOwnerView() + return doId in self.doId2ownerView + def getOwnerViewDoList(self, classType): assert self.hasOwnerView() l = [] @@ -284,6 +288,7 @@ class DoCollectionManager: else: self.notify.warning('handleSetLocation: object %s not present' % self.getMsgChannel()) + @exceptionLogged() def storeObjectLocation(self, object, parentId, zoneId): oldParentId = object.parentId oldZoneId = object.zoneId