From e866143a8ff76efadb01d8a92830d0b0c6ec7506 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 3 Oct 2002 20:22:06 +0000 Subject: [PATCH] can't use *shadow --- direct/src/gui/OnscreenText.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/direct/src/gui/OnscreenText.py b/direct/src/gui/OnscreenText.py index a2100ac612..8c9c8a5b9c 100644 --- a/direct/src/gui/OnscreenText.py +++ b/direct/src/gui/OnscreenText.py @@ -176,7 +176,9 @@ class OnscreenText(PandaObject, NodePath): if shadow[3] != 0: # If we have a shadow color, create a shadow. - textNode.setShadowColor(*shadow) + # Can't use the *shadow interface because it might be a VBase4. + #textNode.setShadowColor(*shadow) + textNode.setShadowColor(shadow[0], shadow[1], shadow[2], shadow[3]) textNode.setShadow(*shadowOffset) if frame[3] != 0: