From 59b7f35caddd1adabb57a31c3236cc3201fd5c48 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Mon, 23 Apr 2007 22:46:27 +0000 Subject: [PATCH] more debugging for deleteObjectLocation parentId=4294967295 AI crash --- direct/src/distributed/DoCollectionManager.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/direct/src/distributed/DoCollectionManager.py b/direct/src/distributed/DoCollectionManager.py index ed7395521b..3c836b35d0 100755 --- a/direct/src/distributed/DoCollectionManager.py +++ b/direct/src/distributed/DoCollectionManager.py @@ -199,6 +199,8 @@ class DoCollectionManager: "handleObjectLocation: doId: %s parentId: %s zoneId: %s"% (doId, parentId, zoneId)) # Let the object finish the job + if hasattr(distObj, 'checkFFparentId'): + obj.checkFFparentId(parentId) obj.setLocation(parentId, zoneId) #self.storeObjectLocation(doId, parentId, zoneId) else: @@ -213,6 +215,8 @@ class DoCollectionManager: zoneId = di.getUint32() distObj = self.doId2do.get(self.getMsgChannel()) if distObj is not None: + if hasattr(distObj, 'checkFFparentId'): + distObj.checkFFparentId(parentId) distObj.setLocation(parentId, zoneId) else: self.notify.warning('handleSetLocation: object %s not present' % self.getMsgChannel())