mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
formatting
This commit is contained in:
parent
a711f19e05
commit
5f4d36e968
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user