clarify comment

This commit is contained in:
David Rose 2007-06-29 21:49:03 +00:00
parent 8e1e795cea
commit e230108209

View File

@ -82,14 +82,14 @@ class Loader(DirectObject):
If callback is not None, then the model load will be performed If callback is not None, then the model load will be performed
asynchronously. In this case, loadModel() will initiate a asynchronously. In this case, loadModel() will initiate a
background load and return immediately, with no return value. background load and return immediately. The return value will
At some later point, when the requested model(s) have finished be an object that may later be passed to
loader.cancelRequest() to cancel the asynchronous request. At
some later point, when the requested model(s) have finished
loading, the callback function will be invoked with the n loading, the callback function will be invoked with the n
loaded models passed as its parameter list. It is possible loaded models passed as its parameter list. It is possible
that the callback will be invoked immediately, even before that the callback will be invoked immediately, even before
loadModel() returns. In any case, the return value will be loadModel() returns.
an object that may later be passed to loader.cancelRequest()
to cancel the asynchronous request.
True asynchronous model loading requires Panda to have been True asynchronous model loading requires Panda to have been
compiled with threading support enabled (you can test compiled with threading support enabled (you can test