mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Change color print out
This commit is contained in:
parent
d0b48e81b8
commit
c46da350d4
@ -695,7 +695,8 @@ def lightRGBPanel(light, style = 'mini'):
|
|||||||
def printToLog():
|
def printToLog():
|
||||||
n = light.getName()
|
n = light.getName()
|
||||||
c=light.getColor()
|
c=light.getColor()
|
||||||
print n + (".setColor(%.3f, %.3f, %.3f, %.3f)"%(c[0],c[1],c[2],c[3]))
|
print n + (".setColor(Vec4(%.3f, %.3f, %.3f, %.3f))" %
|
||||||
|
(c[0],c[1],c[2],c[3]))
|
||||||
# Check init color
|
# Check init color
|
||||||
initColor = light.getColor() * 255.0
|
initColor = light.getColor() * 255.0
|
||||||
# Create entry scale group
|
# Create entry scale group
|
||||||
|
Loading…
x
Reference in New Issue
Block a user