mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
update new lights
This commit is contained in:
parent
6cc498ed97
commit
1825c98c2f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user