From d3c19148bc330b68a1b9e778806af6ef3c20799c Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 3 Aug 2004 22:43:44 +0000 Subject: [PATCH] don't include nametag --- direct/src/showbase/ShadowDemo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/showbase/ShadowDemo.py b/direct/src/showbase/ShadowDemo.py index 0f82e56e90..63b543ec48 100755 --- a/direct/src/showbase/ShadowDemo.py +++ b/direct/src/showbase/ShadowDemo.py @@ -109,7 +109,7 @@ def avatarShadow(): # 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. - objectPath = base.localAvatar + objectPath = base.localAvatar.getGeomNode() shadowCamera = objectPath.attachNewNode('shadowCamera') lightPath = shadowCamera.attachNewNode('lightPath')