[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21102] branches/blender2.5/blender/source /blender/makesrna/intern/rna_lamp.c: 2.5 Icons:

Thomas Dinges dingto at gmx.de
Tue Jun 23 13:16:27 CEST 2009


Revision: 21102
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21102
Author:   dingto
Date:     2009-06-23 13:16:27 +0200 (Tue, 23 Jun 2009)

Log Message:
-----------
2.5 Icons:

* Added lamp icons. 

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/makesrna/intern/rna_lamp.c

Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_lamp.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_lamp.c	2009-06-23 11:00:35 UTC (rev 21101)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_lamp.c	2009-06-23 11:16:27 UTC (rev 21102)
@@ -253,11 +253,11 @@
 	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");





More information about the Bf-blender-cvs mailing list