mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
checked in TODO comment about creating objects that have no location
This commit is contained in:
parent
dced7485a0
commit
91f6de31d2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user