--- source/blender/src/buttons_shading.c 8 Dec 2006 21:20:36 -0000 1.221
+++ source/blender/src/buttons_shading.c 18 Dec 2006 01:33:40 -0000
@@ -2430,6 +2430,12 @@
/* yafray: extra type, photonlight */
if (G.scene->r.renderer==R_YAFRAY)
uiDefButS(block, ROW,B_LAMPREDRAW,"Photon", 200,50,80,25,&la->type,1.0,(float)LA_YF_PHOTON, 0, 0, "Creates a special caustics photon 'light', not a real lightsource, use with other lights");
+
+ uiBlockBeginAlign(block);
+ uiBlockSetCol(block, TH_BUT_SETTING1);
+ uiDefButBitS(block, TOG, LA_DRAW_COLOR, REDRAWVIEW3D,"Draw Color", 200,20,80,19,&la->mode, 0, 0, 0, 0, "Draws the color of the lamp in the 3D View");