From 7fc1d5112d03f7ad35a4772149bc433cf7bdf936 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 18 Jun 2003 22:43:04 +0000 Subject: [PATCH] don't need priority on setDepthTest and setDepthWrite --- direct/src/actor/Actor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/actor/Actor.py b/direct/src/actor/Actor.py index b8b7d3d930..31fa07febc 100644 --- a/direct/src/actor/Actor.py +++ b/direct/src/actor/Actor.py @@ -813,8 +813,8 @@ class Actor(PandaObject, NodePath): # Turn off depth test/write on the frontParts. numFrontParts = frontParts.getNumPaths() for partNum in range(0, numFrontParts): - frontParts[partNum].setDepthWrite(0, 1) - frontParts[partNum].setDepthTest(0, 1) + frontParts[partNum].setDepthWrite(0) + frontParts[partNum].setDepthTest(0) # Find the back part. backPart = root.find("**/" + backPartName)