don't include nametag

This commit is contained in:
David Rose 2004-08-03 22:43:44 +00:00
parent b639794b19
commit d3c19148bc

View File

@ -109,7 +109,7 @@ def avatarShadow():
# Set up a new node to hold the "light": this is an abitrary point # Set up a new node to hold the "light": this is an abitrary point
# somewhere above the avatar, looking down, as if from the sun. # somewhere above the avatar, looking down, as if from the sun.
objectPath = base.localAvatar objectPath = base.localAvatar.getGeomNode()
shadowCamera = objectPath.attachNewNode('shadowCamera') shadowCamera = objectPath.attachNewNode('shadowCamera')
lightPath = shadowCamera.attachNewNode('lightPath') lightPath = shadowCamera.attachNewNode('lightPath')