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