2.5 Icons:

* Added lamp icons.
This commit is contained in:
Thomas Dinges
2009-06-23 11:16:27 +00:00
parent 4771c2358d
commit a4b0f41a4a

View 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");