From 1825c98c2f236bbec748e70561ff7c0912569fa3 Mon Sep 17 00:00:00 2001 From: Mark Mine Date: Fri, 14 Jan 2005 00:03:02 +0000 Subject: [PATCH] update new lights --- direct/src/tkpanels/DirectSessionPanel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/tkpanels/DirectSessionPanel.py b/direct/src/tkpanels/DirectSessionPanel.py index 4fef0425b6..a5a3a6f2aa 100644 --- a/direct/src/tkpanels/DirectSessionPanel.py +++ b/direct/src/tkpanels/DirectSessionPanel.py @@ -931,7 +931,7 @@ class DirectSessionPanel(AppShell): # Set light specific info if self.activeLight: l = self.activeLight.getLight() - self.lightActive.set(direct.lights.la.hasLight(l)) + self.lightActive.set(render.hasLight(self.activeLight)) lightColor = l.getColor() * 255.0 self.lightColor.set([lightColor[0], lightColor[1], lightColor[2], lightColor[3]], 0)