Browse Source

typos in error message

David Rose 17 years ago
parent
commit
6452ae6fae
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/showbase/Loader.py

+ 2 - 2
direct/src/showbase/Loader.py

@@ -185,7 +185,7 @@ class Loader(DirectObject):
         then attempt to load it from disk. Return a nodepath to
         then attempt to load it from disk. Return a nodepath to
         the model if successful or None otherwise
         the model if successful or None otherwise
         """
         """
-        Loader.notify.info("loader.loadModel() is deprecated; use loader.loadModel() instead.")
+        Loader.notify.info("loader.loadModelOnce() is deprecated; use loader.loadModel() instead.")
 
 
         return self.loadModel(modelPath, noCache = False)
         return self.loadModel(modelPath, noCache = False)
 
 
@@ -195,7 +195,7 @@ class Loader(DirectObject):
         then attempt to load it from disk. Return a nodepath to
         then attempt to load it from disk. Return a nodepath to
         a copy of the model if successful or None otherwise
         a copy of the model if successful or None otherwise
         """
         """
-        Loader.notify.info("loader.loadModel() is deprecated; use loader.loadModel() instead.")
+        Loader.notify.info("loader.loadModelCopy() is deprecated; use loader.loadModel() instead.")
 
 
         return self.loadModel(modelPath, loaderOptions = loaderOptions, noCache = False)
         return self.loadModel(modelPath, loaderOptions = loaderOptions, noCache = False)