mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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.
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user