From 24641a7ab4e398b6d272f4c85ea897142298850d Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 26 Nov 2008 14:39:48 +0000 Subject: [PATCH] Fixed some typo's --- direct/src/extensions_native/NodePathCollection_extensions.py | 2 +- direct/src/extensions_native/NodePath_extensions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/extensions_native/NodePathCollection_extensions.py b/direct/src/extensions_native/NodePathCollection_extensions.py index bf8dd20cb6..b6c2e6577b 100644 --- a/direct/src/extensions_native/NodePathCollection_extensions.py +++ b/direct/src/extensions_native/NodePathCollection_extensions.py @@ -7,7 +7,7 @@ from libpanda import * # For iterating over children def asList(self): """Converts a NodePathCollection into a list""" - print "Warning: NodePathCollection is no longer needed and deprecated. Iterate on the collection directly instead." + print "Warning: NodePathCollection.asList() is no longer needed and deprecated. Iterate on the collection directly instead." return list(self) Dtool_funcToMethod(asList, NodePathCollection) diff --git a/direct/src/extensions_native/NodePath_extensions.py b/direct/src/extensions_native/NodePath_extensions.py index 5cb274c92e..d56b42fd4d 100644 --- a/direct/src/extensions_native/NodePath_extensions.py +++ b/direct/src/extensions_native/NodePath_extensions.py @@ -28,7 +28,7 @@ del id # For iterating over children def getChildrenAsList(self): """Converts a node path's child NodePathCollection into a list""" - print "Warning: NodePath.getChildren() is deprecated. Use getChildren() instead." + print "Warning: NodePath.getChildrenAsList() is deprecated. Use getChildren() instead." return list(self.getChildren()) Dtool_funcToMethod(getChildrenAsList, NodePath)