[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47031] trunk/blender/source/blender/ editors/object/object_add.c: code cleanup: remove duplicate enum
Campbell Barton
ideasman42 at gmail.com
Sat May 26 02:06:32 CEST 2012
Revision: 47031
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47031
Author: campbellbarton
Date: 2012-05-26 00:06:30 +0000 (Sat, 26 May 2012)
Log Message:
-----------
code cleanup: remove duplicate enum
Modified Paths:
--------------
trunk/blender/source/blender/editors/object/object_add.c
Modified: trunk/blender/source/blender/editors/object/object_add.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_add.c 2012-05-25 23:39:00 UTC (rev 47030)
+++ trunk/blender/source/blender/editors/object/object_add.c 2012-05-26 00:06:30 UTC (rev 47031)
@@ -742,15 +742,7 @@
}
void OBJECT_OT_lamp_add(wmOperatorType *ot)
-{
- static EnumPropertyItem lamp_type_items[] = {
- {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}};
-
+{
/* identifiers */
ot->name = "Add Lamp";
ot->description = "Add a lamp object to the scene";
More information about the Bf-blender-cvs
mailing list