mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
don't need priority on setDepthTest and setDepthWrite
This commit is contained in:
parent
ac751a2715
commit
7fc1d5112d
@ -813,8 +813,8 @@ class Actor(PandaObject, NodePath):
|
|||||||
# Turn off depth test/write on the frontParts.
|
# Turn off depth test/write on the frontParts.
|
||||||
numFrontParts = frontParts.getNumPaths()
|
numFrontParts = frontParts.getNumPaths()
|
||||||
for partNum in range(0, numFrontParts):
|
for partNum in range(0, numFrontParts):
|
||||||
frontParts[partNum].setDepthWrite(0, 1)
|
frontParts[partNum].setDepthWrite(0)
|
||||||
frontParts[partNum].setDepthTest(0, 1)
|
frontParts[partNum].setDepthTest(0)
|
||||||
|
|
||||||
# Find the back part.
|
# Find the back part.
|
||||||
backPart = root.find("**/" + backPartName)
|
backPart = root.find("**/" + backPartName)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user