mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Fixed some typo's
This commit is contained in:
parent
86ee18fd71
commit
24641a7ab4
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user