Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-26 04:06:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-26 04:06:30 +0400
commit6dcef6646806e7778719b91f8fd0a394f294ace0 (patch)
tree56ca2db118406d6a953aee195ff3ed16d5546477 /source/blender/editors
parent178d541aad32a56c4c5ddbb00c89c1c1fa63db2b (diff)
code cleanup: remove duplicate enum
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/object/object_add.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index fe5fafb0ca0..d70140d6cc6 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -742,15 +742,7 @@ static int object_lamp_add_exec(bContext *C, wmOperator *op)
}
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";