svn merge -r 21041:21301 https://svn.blender.org/svnroot/bf-blender/branches/blender2...
[blender.git] / source / blender / makesrna / intern / rna_lamp.c
index 092a5804a744a03d517d9f808e8027a2c3cb737b..a49b4377d9db00733e7dcc07d45acd505d07e3bd 100644 (file)
@@ -253,11 +253,11 @@ static void rna_def_lamp(BlenderRNA *brna)
        PropertyRNA *prop;
 
        static EnumPropertyItem prop_type_items[] = {
-               {LA_LOCAL, "POINT", 0, "Point", "Omnidirectional point light source."},
-               {LA_SUN, "SUN", 0, "Sun", "Constant direction parallel ray light source."},
-               {LA_SPOT, "SPOT", 0, "Spot", "Directional cone light source."},
-               {LA_HEMI, "HEMI", 0, "Hemi", "180 degree constant light source."},
-               {LA_AREA, "AREA", 0, "Area", "Directional area light source."},
+               {LA_LOCAL, "POINT", ICON_LAMP_POINT, "Point", "Omnidirectional point light source."},
+               {LA_SUN, "SUN", ICON_LAMP_SUN, "Sun", "Constant direction parallel ray light source."},
+               {LA_SPOT, "SPOT", ICON_LAMP_SPOT, "Spot", "Directional cone light source."},
+               {LA_HEMI, "HEMI", ICON_LAMP_HEMI, "Hemi", "180 degree constant light source."},
+               {LA_AREA, "AREA", ICON_LAMP_AREA, "Area", "Directional area light source."},
                {0, NULL, 0, NULL, NULL}};
 
        srna= RNA_def_struct(brna, "Lamp", "ID");