Browse Source

checked in TODO comment about creating objects that have no location

Darren Ranalli 19 years ago
parent
commit
91f6de31d2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      direct/src/distributed/AsyncRequest.py

+ 2 - 1
direct/src/distributed/AsyncRequest.py

@@ -294,11 +294,12 @@ class AsyncRequest(DirectObject):
             self._checkCompletion, [name, None])
         self.air.requestDatabaseGenerate(className, context, values=values)
         self.startTimeOut()
-        
+
     def _doCreateObject(self, name, className, values, doId):
         assert self.notify.debugCall()
         assert not self.__deleted
         isInDoId2do = doId in self.air.doId2do
+        # TODO: this creates an object with no location
         distObj = self.air.generateGlobalObject(doId, className, values)
         if not isInDoId2do and game.name == 'uberDog':
             # only remove doId if this is the uberdog?, in pirates this was