formatting

This commit is contained in:
Dave Schuyler 2005-10-01 02:11:54 +00:00
parent a711f19e05
commit 5f4d36e968
9 changed files with 34 additions and 34 deletions

View File

@ -858,10 +858,10 @@ class Actor(PandaObject, NodePath):
root under the given lod. root under the given lod.
""" """
# check to see if we are working within an lod # check to see if we are working within an lod
if (lodName != None): if lodName != None:
# find the named lod node # find the named lod node
lodRoot = self.find("**/" + str(lodName)) lodRoot = self.find("**/" + str(lodName))
if (root == None): if root == None:
# no need to look further # no need to look further
root = lodRoot root = lodRoot
else: else:
@ -869,7 +869,7 @@ class Actor(PandaObject, NodePath):
root = lodRoot.find("**/" + root) root = lodRoot.find("**/" + root)
else: else:
# start search from self if no root and no lod given # start search from self if no root and no lod given
if (root == None): if root == None:
root = self root = self
frontParts = root.findAllMatches("**/" + frontPartName) frontParts = root.findAllMatches("**/" + frontPartName)